java.lang .Object com.rift.coad.lib.deployment.rmi .RMICache RMICache public class RMICache implements Cache (Code) This class is responsible for temporarily caching of rmi factory objects.
They will be cache until they have not been touched for a given period of
time.
author: Brett Chaldecott
Field Summary protected static Loggerlog
Method Summary public voidaddCacheEntry (long timeout, CacheEntry entry) This method is responsible for adding an entry to the cache.public voidclear () This method is called to forcibly remove everything from the cache.public booleancontains (Object cacheEntry) This mehtod returns true if the cache contains the checked entry.public voidgarbageCollect () This method is called to perform garbage collection on the cache entries.
log protected static Logger log(Code)
addCacheEntry public void addCacheEntry(long timeout, CacheEntry entry) throws RMIException (Code) This method is responsible for adding an entry to the cache.
Parameters: entry - The entry to add to the cache.
clear public void clear()(Code) This method is called to forcibly remove everything from the cache.
contains public boolean contains(Object cacheEntry)(Code) This mehtod returns true if the cache contains the checked entry.
TRUE if the cache contains the checked entry.Parameters: cacheEntry - The entry to perform the check for.
garbageCollect public void garbageCollect()(Code) This method is called to perform garbage collection on the cache entries.