Package org.cache2k.core.operation
Interface ExaminationEntry<K,V>
-
- All Known Subinterfaces:
ResultEntry<K,V>
- All Known Implementing Classes:
Entry
public interface ExaminationEntry<K,V>A entry on the heap cache, used for reading. Only the relevant properties are defined to implement the cache semantics on it.This interface is used to make sure the operation semantics pass on the valueOrException property as result, which is needed to propagate the exception correctly.
- Author:
- Jens Wilke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetExpiryTime()KgetKey()Associated keylonggetModificationTime()ObjectgetValueOrException()Associated value or theExceptionWrapper
-
-
-
Method Detail
-
getKey
K getKey()
Associated key
-
getValueOrException
Object getValueOrException()
Associated value or theExceptionWrapper
-
getModificationTime
long getModificationTime()
-
getExpiryTime
long getExpiryTime()
- See Also:
MutableCacheEntry.getExpiryTime()
-
-