| javax.cache.CacheEntry
CacheEntry | public interface CacheEntry extends Map.Entry<K, V>(Code) | | CacheEntry
author: Brian Goetz |
getCost | public long getCost()(Code) | | |
getCreationTime | public long getCreationTime()(Code) | | |
getExpirationTime | public long getExpirationTime()(Code) | | |
getHits | public long getHits()(Code) | | |
getLastAccessTime | public long getLastAccessTime()(Code) | | |
getLastUpdateTime | public long getLastUpdateTime()(Code) | | |
getVersion | public long getVersion()(Code) | | Returns a version counter.
An implementation may use timestamps for this or an incrementing
number. Timestamps usually have issues with granularity and are harder
to use across clusteres or threads, so an incrementing counter is often safer.
|
isValid | public boolean isValid()(Code) | | |
|
|