Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public void | clean(boolean
True if the object will be removed remove)Implements org. |
public void | clearIdentity()
Implements org. |
public Cacheable | createIdentity(Object
The handle on the cacheable key, Object Creation details createParameter)Implements org. |
pack-priv Object | |
public Object | getIdentity()
Implements org. |
public boolean | isDirty()
Implements org. |
public Cacheable | setIdentity(Object
The handle on the cacheable key)Implements org. |
descriptor | back to summary |
---|---|
private Object descriptor |
key | back to summary |
---|---|
private Object key |
VMTypeIdCacheable | back to summary |
---|---|
pack-priv VMTypeIdCacheable() |
clean | back to summary |
---|---|
public void clean(boolean remove) Implements org. Doc from org. Clean the object.
It is up to the object to ensure synchronization of the isDirty()
and clean() method calls.
|
clearIdentity | back to summary |
---|---|
public void clearIdentity() Implements org. Doc from org. Put the object into the No Identity state.
|
createIdentity | back to summary |
---|---|
public Cacheable createIdentity(Object key, Object createParameter) Implements org. Doc from org. Create a new item.
Create a new item and set the identity of the object to represent it.
The object will be in the No Identity state,
ie. it will have just been created or clearIdentity() was just called.
|
descriptor | back to summary |
---|---|
pack-priv Object descriptor() Get the VM Type name (java/lang/Object) that is associated with this Cacheable |
getIdentity | back to summary |
---|---|
public Object getIdentity() Implements org. Doc from org. Get the identity of this object.
|
isDirty | back to summary |
---|---|
public boolean isDirty() Implements org. Doc from org. Returns true if the object is dirty.
May be called when the object is kept or unkept.
|
setIdentity | back to summary |
---|---|
public Cacheable setIdentity(Object key) Implements org. Doc from org. Set the identity of the object.
Set the identity of the object to represent an item that already exists,
e.g. an existing container.
The object will be in the No Identity state,
ie. it will have just been created or clearIdentity() was just called.
|