public static interface ConfigurableCacheMap.Entry extends Map.Entry
| Modifier and Type | Method and Description | 
|---|---|
long | 
getExpiryMillis()
Determine when the cache entry will expire, if ever. 
 | 
long | 
getLastTouchMillis()
Determine when the cache entry was last touched. 
 | 
int | 
getTouchCount()
Determine the number of times that the cache entry has been
 touched (since the touch count was last reset). 
 | 
int | 
getUnits()
Determine the number of cache units used by this Entry. 
 | 
void | 
setExpiryMillis(long lMillis)
Specify when the cache entry will expire, or disable expiry. 
 | 
void | 
setUnits(int cUnits)
Specify the number of cache units used by this Entry. 
 | 
void | 
touch()
Indicate to the entry that it has been touched, such as when it is
 accessed or modified. 
 | 
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, getKey, getValue, hashCode, setValuevoid touch()
int getTouchCount()
long getLastTouchMillis()
long getExpiryMillis()
void setExpiryMillis(long lMillis)
lMillis - pass the date/time value, in millis, for when the
        entry will expire, or pass zero to disable automatic expiryint getUnits()
void setUnits(int cUnits)
cUnits - an integer value 0 or greater, with a larger value
                signifying a higher cost