Cacheable
class CacheableConglomerate extends java.lang.Object implements Cacheable
Modifier and Type | Field | Description |
---|---|---|
private RAMAccessManager |
accessManager |
|
private Conglomerate |
conglom |
|
private java.lang.Long |
conglomid |
Constructor | Description |
---|---|
CacheableConglomerate(RAMAccessManager parent) |
Modifier and Type | Method | Description |
---|---|---|
void |
clean(boolean forRemove) |
Clean the object.
|
void |
clearIdentity() |
Put the object into the No Identity state.
|
Cacheable |
createIdentity(java.lang.Object key,
java.lang.Object createParameter) |
Create a new item and set the identity of the object to represent it.
|
protected Conglomerate |
getConglom() |
|
java.lang.Object |
getIdentity() |
Get the identity of this object.
|
boolean |
isDirty() |
Returns true if the object is dirty.
|
Cacheable |
setIdentity(java.lang.Object key) |
Set the identity of the object to represent an item that already exists,
e.g. an existing container.
|
private final RAMAccessManager accessManager
private java.lang.Long conglomid
private Conglomerate conglom
CacheableConglomerate(RAMAccessManager parent)
protected Conglomerate getConglom()
public Cacheable setIdentity(java.lang.Object key) throws StandardException
setIdentity
in interface Cacheable
StandardException
- Standard Derby PolicyCacheManager.find(java.lang.Object)
public Cacheable createIdentity(java.lang.Object key, java.lang.Object createParameter) throws StandardException
createIdentity
in interface Cacheable
StandardException
- If forCreate is true and the object cannot
be created.CacheManager.create(java.lang.Object, java.lang.Object)
public void clearIdentity()
clearIdentity
in interface Cacheable
public java.lang.Object getIdentity()
getIdentity
in interface Cacheable
public boolean isDirty()
public void clean(boolean forRemove) throws StandardException
clean
in interface Cacheable
StandardException
- Standard Derby error policy.Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.