edu.washington.cs.pl_if.plc
Class PLCentralCache
java.lang.Object
edu.washington.cs.pl_if.plc.PLCentralCache
- All Implemented Interfaces:
- Runnable
public class PLCentralCache
- extends Object
- implements Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_PLC_CACHE_AGE
public static final double MAX_PLC_CACHE_AGE
- See Also:
- Constant Field Values
PLCentralCache
public PLCentralCache(Credentials cred)
addHostsToSlice
public int addHostsToSlice(PlanetLabHost[] hosts)
debugGetMethodHelp
public void debugGetMethodHelp(String method)
debugListMethods
public void debugListMethods()
getAllHosts
public PlanetLabHost[] getAllHosts()
getHostsNotInSlice
public PlanetLabHost[] getHostsNotInSlice(PlanetLabHost[] hosts)
getHostToSiteMapping
public ConcurrentHashMap<PlanetLabHost,PlanetLabSite> getHostToSiteMapping()
getProgress
public double getProgress()
getSite
public PlanetLabSite getSite(int siteId)
getHost
public PlanetLabHost getHost(int plcHostId)
getSiteToHostMapping
public ConcurrentHashMap<PlanetLabSite,Vector<PlanetLabHost>> getSiteToHostMapping()
run
public void run()
- Specified by:
run
in interface Runnable