public abstract class AbstractCacheEntry<K,V> extends Object implements CacheEntry<K,V>
Constructor and Description |
---|
AbstractCacheEntry()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
getLastModification()
Deprecated.
Permanently throws
UnsupportedOperationException . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getException, getKey, getValue
public long getLastModification()
CacheEntry
UnsupportedOperationException
.
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–2020 headissue GmbH, Munich.