|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheEntry
This interface represents a cache entry in an ObjectGrid map.
Method Summary | |
---|---|
Object |
getCommittedValue()
Returns the committed value for this entry. |
Object |
getKey()
Returns the key for this entry. |
long |
getLastAccessTime()
Returns the last time this entry was accessed. |
long |
getTTL()
Returns the time-to-live value for this entry. |
boolean |
isInBackingMap()
Indicates whether this entry is in the BackingMap |
Method Detail |
---|
boolean isInBackingMap()
BackingMap
true
if this element is in the BackingMapObject getKey()
For a CacheEntry on an ObjectMap
that is configured to use a KeySerializerPlugin
, the
value will be a SerializedKey
object. If required, you
can use the SerializedEntry.getObject()
method to retrieve (possibly inflating
the serialized object) the original key object.
Object getCommittedValue()
The type of the object returned from the getCommittedValue()
method depends on various
configuration and storage options used by the ObjectMap
that holds the
CacheEntry. In the default case, getCommittedValue()
returns the Java object
of the same type that was put into the map. For an ObjectMap
that is configured
to use a ValueSerializerPlugin
, the committed value depends on the underlying storage
mechanism, typically represented as an array of bytes.
long getTTL()
long getLastAccessTime()
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |