| java.lang.Object com.rift.coad.lib.bean.BeanCacheEntry
BeanCacheEntry | public class BeanCacheEntry (Code) | | The bean cache entry is responsible for
author: Brett Chaldecott |
BeanCacheEntry | public BeanCacheEntry(long timeout, Object cacheKey, Object wrappedObject, CacheEntry cacheEntry)(Code) | | The constructor of the BeanCacheEntry object.
Parameters: timeout - The time out value. Parameters: cacheKey - The cache key that uniqly identifies this object. Parameters: wrapperObject - The wrapper object reference. Parameters: cacheEntry - The new entry to add to the cache. |
BeanCacheEntry | public BeanCacheEntry(long timeout, Object cacheKey, Object wrappedObject, Object proxy, CacheEntry beanHandler)(Code) | | The constructor of the BeanCacheEntry object.
Parameters: timeout - The time out period. Parameters: cacheKey - The cache key that uniqly identifies this object. Parameters: proxy - The proxy object. Parameters: beanHandler - The handler to perform the search for. |
cacheRelease | public void cacheRelease()(Code) | | Call the cache entries to release
|
getBeanHandler | public CacheEntry getBeanHandler()(Code) | | This method retrieves the bean handler object.
The bean handler reference. |
getCacheEntry | public CacheEntry getCacheEntry()(Code) | | This method returns the cache entry that this object wrapps.
|
getCacheKey | public Object getCacheKey()(Code) | | This method returns the cache key object.
The cache key object. |
getProxy | public Object getProxy()(Code) | | This methos returns the proxy object.
The proxy object. |
getWrappedObject | public Object getWrappedObject()(Code) | | This method returns the wrapped object.
The wrapped object. |
isExpired | public boolean isExpired(Date expiryDate)(Code) | | This method returns true if this object is expired.
TRUE if expired, FALSE if not. Parameters: expiryDate - The expiry date. |
setBeanHandler | public void setBeanHandler(CacheEntry beanHandler)(Code) | | This method sets the bean handler flag.
Parameters: beanHandler - The bean handler to set. |
setCacheEntry | public void setCacheEntry(CacheEntry cacheEntry)(Code) | | This method sets the cache entry.
Parameters: cacheEntry - The new cache entry to set. |
setProxy | public void setProxy(Object proxy)(Code) | | This method sets the proxy object.
Parameters: proxy - The proxy object value to set. |
touch | public void touch()(Code) | | This method sets the last touch time
|
|
|