public abstract class PersistentBase extends Identifiable implements Persistent, LinkLengthAware
_id, _state| Constructor and Description |
|---|
PersistentBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
free(LocalTransaction trans) |
TransactionalIdSystem |
idSystem(Transaction trans) |
int |
linkLength() |
protected ByteArrayBuffer |
newWriteBuffer(int length) |
protected ByteArrayBuffer |
produceReadBuffer(Transaction trans) |
protected ByteArrayBuffer |
produceWriteBuffer(Transaction trans,
int length) |
void |
read(Transaction trans) |
protected void |
read(Transaction trans,
ByteArrayBuffer reader) |
protected ByteArrayBuffer |
readBufferById(Transaction trans) |
SlotChangeFactory |
slotChangeFactory() |
void |
write(Transaction trans) |
boolean |
writeObjectBegin() |
void |
writeOwnID(Transaction trans,
ByteArrayBuffer writer) |
beginProcessing, endProcessing, getID, hashCode, isActive, isDirty, isNew, setID, setStateClean, setStateDeactivated, setStateDirtyclone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIdentifier, ownLength, readThis, writeThispublic void free(LocalTransaction trans)
public final int linkLength()
linkLength in interface LinkLengthAwarepublic void read(Transaction trans)
protected void read(Transaction trans, ByteArrayBuffer reader)
protected final ByteArrayBuffer produceReadBuffer(Transaction trans)
protected ByteArrayBuffer readBufferById(Transaction trans)
public void write(Transaction trans)
public TransactionalIdSystem idSystem(Transaction trans)
protected ByteArrayBuffer produceWriteBuffer(Transaction trans, int length)
protected ByteArrayBuffer newWriteBuffer(int length)
public boolean writeObjectBegin()
public void writeOwnID(Transaction trans, ByteArrayBuffer writer)
public SlotChangeFactory slotChangeFactory()