| |
|
| java.lang.Object com.rift.coad.lib.cache.KeySyncCache
KeySyncCache | public class KeySyncCache implements Cache(Code) | | This object is responsible for returning synchronization objects based on a
key passed in.
author: Brett Chaldecott |
Inner Class :public static class KeySync | |
Field Summary | |
protected static Logger | log |
Method Summary | |
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. | public KeySync | getKeySync(Object key) This method returns the key sync object for the requested key. |
log | protected static Logger log(Code) | | |
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.
|
getKeySync | public KeySync getKeySync(Object key) throws CacheException(Code) | | This method returns the key sync object for the requested key.
The reference to the key stink object to return. Parameters: key - The key to retrieve. |
|
|
|