public static final class ObjectCache.Entry
extends java.lang.Object
Possible states:
next
is non-null, impl
and
serialized
are null (the entry in next
should be
used instead of this)
impl
and next
are null,
serialized
and store
are non-nullserialized
and next
are
null, impl
is non-nullimpl
, serialized
, and
next
are null
Constructor and Description |
---|
Entry(Object._Impl obj)
Constructs an
Entry object in deserialized state. |
Modifier and Type | Method and Description |
---|---|
ConfPolicy |
getAccessPolicy()
Obtains a reference to the object's access policy.
|
Object._Impl |
getImpl(boolean deserialize) |
Label |
getLabel()
Obtains a reference to the object's update label.
|
Object._Proxy |
getProxy()
Obtains a reference to the object's exact proxy.
|
java.lang.Integer |
getVersion()
Obtains the object's version number.
|
public Entry(Object._Impl obj)
Entry
object in deserialized state.public Object._Impl getImpl(boolean deserialize)
deserialize
- whether to deserialize this entry if it's serialized.deserialize
is false, or if
this entry is evicted.public java.lang.Integer getVersion()
public Label getLabel()
public ConfPolicy getAccessPolicy()
public Object._Proxy getProxy()