
public class OSysBucket extends OBonsaiBucketAbstract
A system bucket for bonsai tree pages. Single per file.
Holds an information about:
CRC32_OFFSET, MAGIC_NUMBER_OFFSET, MAX_PAGE_SIZE_BYTES, NEXT_FREE_POSITION, WAL_POSITION_OFFSET, WAL_SEGMENT_OFFSET| Constructor and Description |
|---|
OSysBucket(OCacheEntry cacheEntry) |
| Modifier and Type | Method and Description |
|---|---|
long |
freeListLength() |
OBonsaiBucketPointer |
getFreeListHead() |
OBonsaiBucketPointer |
getFreeSpacePointer() |
void |
init() |
boolean |
isInitialized() |
void |
setFreeListHead(OBonsaiBucketPointer pointer) |
void |
setFreeListLength(long length) |
void |
setFreeSpacePointer(OBonsaiBucketPointer pointer) |
getBucketPointer, setBucketPointerdeserializeFromDirectMemory, getBinaryValue, getByteValue, getChanges, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLsn, getObjectSizeInDirectMemory, getPageData, getShortValue, moveData, restoreChanges, setBinaryValue, setByteValue, setIntValue, setLongValue, setLsn, setShortValue, toStringpublic OSysBucket(OCacheEntry cacheEntry)
public void init()
throws IOException
IOExceptionpublic boolean isInitialized()
public long freeListLength()
public void setFreeListLength(long length)
throws IOException
IOExceptionpublic OBonsaiBucketPointer getFreeSpacePointer()
public void setFreeSpacePointer(OBonsaiBucketPointer pointer) throws IOException
IOExceptionpublic OBonsaiBucketPointer getFreeListHead()
public void setFreeListHead(OBonsaiBucketPointer pointer) throws IOException
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.