public final class StatefulBuffer extends ByteArrayBuffer
_buffer, _offset| Constructor and Description |
|---|
StatefulBuffer(Transaction trans,
int initialBufferSize) |
StatefulBuffer(Transaction trans,
int address,
int length) |
StatefulBuffer(Transaction trans,
Pointer4 pointer) |
StatefulBuffer(Transaction trans,
Slot slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
address(int address) |
int |
cascadeDeletes() |
ObjectContainerBase |
container() |
void |
debugCheckBytes() |
LocalObjectContainer |
file() |
int |
getAddress() |
int |
getID() |
byte[] |
getWrittenBytes() |
int |
length() |
void |
moveForward(int length) |
Pointer4 |
pointer() |
void |
read() |
ByteArrayBuffer |
readPayloadWriter(int offset,
int length) |
StatefulBuffer |
readStatefulBuffer() |
void |
removeFirstBytes(int aLength) |
void |
setCascadeDeletes(int depth) |
void |
setID(int id) |
void |
setTransaction(Transaction aTrans) |
Slot |
slot() |
java.lang.String |
toString() |
Transaction |
transaction() |
void |
useSlot(int adress) |
void |
useSlot(int address,
int length) |
void |
useSlot(int id,
int adress,
int length) |
void |
useSlot(Slot slot) |
void |
write() |
void |
writeEncrypt() |
append, canWritePersistentBase, checkXBytes, checkXBytes, containsTheSame, copyTo, ensureSize, eof, incrementIntSize, incrementOffset, offset, read, readBegin, readBitMap, readByte, readBytes, readBytes, readEmbeddedObject, readEncrypt, readEnd, readInt, readLong, readPayloadReader, remainingByteCount, seek, skip, writeBegin, writeBitMap, writeByte, writeBytes, writeEnd, writeIDOf, writeIDOf, writeInt, writeLong, writeShortStringpublic StatefulBuffer(Transaction trans, int initialBufferSize)
public StatefulBuffer(Transaction trans, int address, int length)
public StatefulBuffer(Transaction trans, Slot slot)
public StatefulBuffer(Transaction trans, Pointer4 pointer)
public void debugCheckBytes()
public int getAddress()
public int getID()
public int length()
length in interface ReadWriteBufferlength in class ByteArrayBufferpublic ObjectContainerBase container()
public LocalObjectContainer file()
public Transaction transaction()
public byte[] getWrittenBytes()
public void read()
throws Db4oIOException
Db4oIOExceptionpublic final StatefulBuffer readStatefulBuffer()
public void removeFirstBytes(int aLength)
public void address(int address)
public void setID(int id)
public void setTransaction(Transaction aTrans)
public void useSlot(int adress)
public void useSlot(int address,
int length)
public void useSlot(Slot slot)
public void useSlot(int id,
int adress,
int length)
public void write()
public void writeEncrypt()
public ByteArrayBuffer readPayloadWriter(int offset, int length)
public void moveForward(int length)
public java.lang.String toString()
toString in class ByteArrayBufferpublic Slot slot()
public Pointer4 pointer()
public int cascadeDeletes()
public void setCascadeDeletes(int depth)