Package one.microstream.cache
Interface CachedValue
- All Known Implementing Classes:
CachedValue.Default
public interface CachedValue
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CachedValue.Default
-
Method Summary
Modifier and Type Method Description long
accessCount()
long
accessTime()
long
byteSizeEstimate()
long
creationTime()
long
expiryTime()
CachedValue
expiryTime(long expiryTime)
boolean
isExpiredAt(long now)
long
modificationCount()
long
modificationTime()
static CachedValue
New(Object value, long creationTime, long expiryTime)
Object
value()
Object
value(long accessTime)
CachedValue
value(Object value)
CachedValue
value(Object value, long accessTime)
-
Method Details
-
creationTime
long creationTime() -
accessTime
long accessTime() -
accessCount
long accessCount() -
modificationTime
long modificationTime() -
modificationCount
long modificationCount() -
expiryTime
long expiryTime() -
expiryTime
-
isExpiredAt
boolean isExpiredAt(long now) -
value
Object value() -
value
-
value
-
value
-
byteSizeEstimate
long byteSizeEstimate() -
New
-