| Modifier and Type | Field and Description |
|---|---|
protected long |
creationTime |
protected long |
evictionCriteriaNumber
evictionCriteriaNumber may be used for LRU or LFU eviction depending on configuration.
|
protected Data |
key |
protected long |
lastAccessTime |
protected long |
lastUpdateTime |
protected long |
ttl |
protected long |
version |
NOT_CACHED| Modifier and Type | Method and Description |
|---|---|
Object |
getCachedValue() |
long |
getCost() |
long |
getCreationTime() |
long |
getEvictionCriteriaNumber() |
Data |
getKey() |
long |
getLastAccessTime() |
long |
getLastUpdateTime() |
RecordStatistics |
getStatistics() |
long |
getTtl() |
long |
getVersion() |
void |
onAccess() |
void |
onStore() |
void |
onUpdate() |
void |
setCachedValue(Object cachedValue) |
void |
setCreationTime(long creationTime) |
void |
setEvictionCriteriaNumber(long evictionCriteriaNumber) |
void |
setKey(Data key) |
void |
setLastAccessTime(long lastAccessTime) |
void |
setLastUpdateTime(long lastUpdateTime) |
void |
setStatistics(RecordStatistics stats) |
void |
setTtl(long ttl) |
void |
setVersion(long version) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValue, invalidate, setValueprotected Data key
protected long version
protected long evictionCriteriaNumber
protected long ttl
protected long lastAccessTime
protected long lastUpdateTime
protected long creationTime
public final long getVersion()
getVersion in interface Record<V>public final void setVersion(long version)
setVersion in interface Record<V>public long getEvictionCriteriaNumber()
getEvictionCriteriaNumber in interface Record<V>public void setEvictionCriteriaNumber(long evictionCriteriaNumber)
setEvictionCriteriaNumber in interface Record<V>public long getLastAccessTime()
getLastAccessTime in interface Record<V>public void setLastAccessTime(long lastAccessTime)
setLastAccessTime in interface Record<V>public long getLastUpdateTime()
getLastUpdateTime in interface Record<V>public void setLastUpdateTime(long lastUpdateTime)
setLastUpdateTime in interface Record<V>public long getCreationTime()
getCreationTime in interface Record<V>public void setCreationTime(long creationTime)
setCreationTime in interface Record<V>public Object getCachedValue()
getCachedValue in interface Record<V>public RecordStatistics getStatistics()
getStatistics in interface Record<V>public void setStatistics(RecordStatistics stats)
setStatistics in interface Record<V>public void setCachedValue(Object cachedValue)
setCachedValue in interface Record<V>public void setKey(Data key)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.