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, setBucketPointer
deserializeFromDirectMemory, getBinaryValue, getByteValue, getChanges, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLsn, getObjectSizeInDirectMemory, getPageData, getShortValue, moveData, restoreChanges, setBinaryValue, setByteValue, setIntValue, setLongValue, setLsn, setShortValue, toString
public OSysBucket(OCacheEntry cacheEntry)
public void init() throws IOException
IOException
public boolean isInitialized()
public long freeListLength()
public void setFreeListLength(long length) throws IOException
IOException
public OBonsaiBucketPointer getFreeSpacePointer()
public void setFreeSpacePointer(OBonsaiBucketPointer pointer) throws IOException
IOException
public OBonsaiBucketPointer getFreeListHead()
public void setFreeListHead(OBonsaiBucketPointer pointer) throws IOException
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.