
public class OPaginatedClusterState extends ODurablePage
changes, CRC32_OFFSET, MAGIC_NUMBER_OFFSET, MAX_PAGE_SIZE_BYTES, NEXT_FREE_POSITION, WAL_POSITION_OFFSET, WAL_SEGMENT_OFFSET| Constructor and Description |
|---|
OPaginatedClusterState(OCacheEntry cacheEntry,
OWALChanges changes) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFreeListPage(int index) |
long |
getRecordsSize() |
long |
getSize() |
void |
setFreeListPage(int index,
long pageIndex) |
void |
setRecordsSize(long recordsSize) |
void |
setSize(long size) |
deserializeFromDirectMemory, getBinaryValue, getByteValue, getChanges, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLsn, getObjectSizeInDirectMemory, getPageData, moveData, restoreChanges, setBinaryValue, setByteValue, setIntValue, setLongValue, setLsn, toStringpublic OPaginatedClusterState(OCacheEntry cacheEntry, OWALChanges changes)
public void setSize(long size)
throws IOException
IOExceptionpublic long getSize()
public void setRecordsSize(long recordsSize)
throws IOException
IOExceptionpublic long getRecordsSize()
public void setFreeListPage(int index,
long pageIndex)
throws IOException
IOExceptionpublic long getFreeListPage(int index)
Copyright © 2009–2025 OrientDB. All rights reserved.