Class OSysBucket
java.lang.Object
com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage
com.orientechnologies.orient.core.storage.index.sbtreebonsai.local.OBonsaiBucketAbstract
com.orientechnologies.orient.core.storage.index.sbtreebonsai.local.OSysBucket
A system bucket for bonsai tree pages. Single per file.
Holds an information about:
- head of free list
- length of free list
- pointer to free space
- Author:
- Artem Orobets (enisher-at-gmail.com)
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage
CRC32_OFFSET, MAGIC_NUMBER_OFFSET, MAX_PAGE_SIZE_BYTES, NEXT_FREE_POSITION, WAL_POSITION_OFFSET, WAL_SEGMENT_OFFSET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongvoidinit()booleanvoidsetFreeListHead(OBonsaiBucketPointer pointer) voidsetFreeListLength(long length) voidsetFreeSpacePointer(OBonsaiBucketPointer pointer) Methods inherited from class com.orientechnologies.orient.core.storage.index.sbtreebonsai.local.OBonsaiBucketAbstract
getBucketPointer, setBucketPointerMethods inherited from class com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage
deserializeFromDirectMemory, getBinaryValue, getByteValue, getCacheEntry, getChanges, getIntArray, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLSN, getObjectSizeInDirectMemory, getPageData, getPageIndex, getShortValue, moveData, restoreChanges, setBinaryValue, setByteValue, setIntArray, setIntValue, setLongValue, setLsn, setPageLSN, setShortValue, toString
-
Constructor Details
-
OSysBucket
-
-
Method Details
-
init
- Throws:
IOException
-
isNotInitialized
public boolean isNotInitialized() -
freeListLength
public long freeListLength() -
setFreeListLength
- Throws:
IOException
-
getFreeSpacePointer
-
setFreeSpacePointer
- Throws:
IOException
-
getFreeListHead
-
setFreeListHead
- Throws:
IOException
-