| |
|
| com.tc.object.cache.Cacheable
Cacheable | public interface Cacheable extends TLinkable(Code) | | Interface for objects that can be stored in the cache
author: steve |
accessCount | public int accessCount(int factor)(Code) | | Reduce access count by factor
Parameters: factor - Factor by which accessCount to be reduced. New accessCount after being divided by factor throws: ArithmeticException - if factor=0 |
canEvict | public boolean canEvict()(Code) | | This method checks to see if the element is in a state where it can be evicted.
True if can evict now |
clearAccessed | public void clearAccessed()(Code) | | Clear access count
|
getObjectID | public ObjectID getObjectID()(Code) | | Get object identifier
Identifer |
markAccessed | public void markAccessed()(Code) | | Mark object as accessed
|
recentlyAccessed | public boolean recentlyAccessed()(Code) | | Determine whether object was accessed since a clear occurred
True if accessed since clear |
|
|
|