|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtCacheEntry<K,V>
Provides additional information about an entry in a Cache
.
Method Summary | |
---|---|
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. |
Methods inherited from interface javax.cache.Cache.Entry |
---|
getKey |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |