public final class OSysBucket extends OBonsaiBucketAbstract
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 |
isNotInitialized() |
void |
setFreeListHead(OBonsaiBucketPointer pointer) |
void |
setFreeListLength(long length) |
void |
setFreeSpacePointer(OBonsaiBucketPointer pointer) |
getBucketPointer, setBucketPointer
addPageOperation, deserializeFromDirectMemory, getBinaryValue, getByteValue, getCacheEntry, getChanges, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLsn, getLSN, getObjectSizeInDirectMemory, getPageData, getShortValue, moveData, restoreChanges, setBinaryValue, setByteValue, setIntValue, setLongValue, setLsn, setPageLSN, setShortValue, toString
public OSysBucket(OCacheEntry cacheEntry)
public void init() throws IOException
IOException
public boolean isNotInitialized()
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.