public interface ExtCacheEntry<K,V> extends Cache.Entry<K,V>
Cache
.Modifier and Type | Method and Description |
---|---|
long |
getAccessedExpireTimeout()
Returns the idle timeout
|
HashKey |
getKeyHash()
Returns the key hash for the current entry.
|
long |
getLastAccessedTime() |
long |
getLastModifiedTime()
Returns the last update time.
|
long |
getLeaseExpireTimeout()
Returns the lease timeout
|
int |
getLeaseOwner()
Returns the lease owner
|
int |
getLoadCount()
Returns the load count.
|
long |
getModifiedExpireTimeout()
Returns the expire timeout.
|
MnodeUpdate |
getRemoteUpdate() |
int |
getUserFlags() |
V |
getValue()
Returns the item's value
|
long |
getValueHash()
Returns the value key
|
long |
getValueLength()
Returns the value length
|
StreamSource |
getValueStream() |
long |
getVersion() |
boolean |
isExpired(long now)
Returns true when the entry is expired.
|
boolean |
isValid() |
boolean |
isValueNull()
Returns true for a null entry
|
boolean |
readData(java.io.OutputStream os,
CacheConfig config)
Loads the data to the output stream.
|
void |
updateAccessTime()
Update the access time on a read.
|
getKey
HashKey getKeyHash()
boolean isValueNull()
V getValue()
getValue
in interface Cache.Entry<K,V>
long getValueHash()
long getValueLength()
StreamSource getValueStream()
long getAccessedExpireTimeout()
long getModifiedExpireTimeout()
long getLeaseExpireTimeout()
long getLastAccessedTime()
long getLastModifiedTime()
boolean isExpired(long now)
void updateAccessTime()
int getLeaseOwner()
boolean isValid()
int getLoadCount()
int getUserFlags()
long getVersion()
MnodeUpdate getRemoteUpdate()
boolean readData(java.io.OutputStream os, CacheConfig config) throws java.io.IOException
java.io.IOException