public abstract class AbstractCacheEntry<K,V> extends Object implements CacheEntry<K,V>
| Constructor and Description |
|---|
AbstractCacheEntry() |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastModification()
Permanently throws
UnsupportedOperationException. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetException, getKey, getValuepublic long getLastModification()
CacheEntryUnsupportedOperationException.
Functionality was present in version 1.0, but was removed
for version 1.2. To access the last modification time it is possible to
use MutableCacheEntry.getRefreshedTime()
More rationale see GH#84. The method is planed to be removed for version 2.0.
AbstractCacheEntry can be used for implementations of this class to avoid implementing this method.
getLastModification in interface CacheEntry<K,V>cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.