| java.lang.Object com.rift.coad.lib.bean.ProxyCache
ProxyCache | public class ProxyCache implements Cache(Code) | | This object is responsible for caching the proxy entries. They will be
released after x number milli seconds of in activity. Forcing a reconnect
and the release of a resource.
author: Brett Chaldecott |
Field Summary | |
protected static Logger | log |
Method Summary | |
public void | addCacheEntry(long timeout, Object proxy, CacheEntry handler) This method adds a new entry to the proxy cache. | public void | clear() This method is called to forcibly remove everything from the cache. | public boolean | contains(Object cacheEntry) This mehtod returns true if the cache contains the checked entry. | public void | garbageCollect() This method is called to perform garbage collection on the cache entries. |
log | protected static Logger log(Code) | | |
addCacheEntry | public void addCacheEntry(long timeout, Object proxy, CacheEntry handler) throws BeanException(Code) | | This method adds a new entry to the proxy cache.
Parameters: timeout - The timeout for this object. Parameters: proxy - The proxy to add to the cache. Parameters: handler - The handler to perform the check for. |
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.
|
|
|