
public final class OClusterPage extends ODurablePage
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_ENTRY_SIZE |
static int |
MAX_RECORD_SIZE |
static int |
PAGE_SIZE |
CRC32_OFFSET, MAGIC_NUMBER_OFFSET, MAX_PAGE_SIZE_BYTES, NEXT_FREE_POSITION, WAL_POSITION_OFFSET, WAL_SEGMENT_OFFSET| Constructor and Description |
|---|
OClusterPage(OCacheEntry cacheEntry,
boolean newPage) |
| Modifier and Type | Method and Description |
|---|---|
int |
appendRecord(int recordVersion,
byte[] record) |
boolean |
deleteRecord(int position) |
void |
dumpToLog()
Writes binary dump of this cluster page to the log.
|
int |
findFirstDeletedRecord(int position) |
int |
findFirstRecord(int position) |
int |
findLastRecord(int position) |
int |
getFreeSpace() |
int |
getMaxRecordSize() |
long |
getNextPage() |
long |
getPrevPage() |
byte[] |
getRecordBinaryValue(int recordPosition,
int offset,
int size) |
byte |
getRecordByteValue(int recordPosition,
int offset) |
long |
getRecordLongValue(int recordPosition,
int offset) |
int |
getRecordsCount() |
int |
getRecordSize(int position) |
int |
getRecordVersion(int position) |
boolean |
isDeleted(int position) |
boolean |
isEmpty() |
int |
replaceRecord(int entryIndex,
byte[] record,
int recordVersion) |
void |
setNextPage(long nextPage) |
void |
setPrevPage(long prevPage) |
void |
setRecordLongValue(int recordPosition,
int offset,
long value) |
deserializeFromDirectMemory, getBinaryValue, getByteValue, getChanges, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLsn, getObjectSizeInDirectMemory, getPageData, getShortValue, moveData, restoreChanges, setBinaryValue, setByteValue, setIntValue, setLongValue, setLsn, setShortValue, toStringpublic static final int PAGE_SIZE
public static final int MAX_ENTRY_SIZE
public static final int MAX_RECORD_SIZE
public OClusterPage(OCacheEntry cacheEntry, boolean newPage)
public int appendRecord(int recordVersion,
byte[] record)
public int replaceRecord(int entryIndex,
byte[] record,
int recordVersion)
public int getRecordVersion(int position)
public boolean isEmpty()
public boolean deleteRecord(int position)
public boolean isDeleted(int position)
public int getRecordSize(int position)
public int findFirstDeletedRecord(int position)
public int findFirstRecord(int position)
public int findLastRecord(int position)
public final int getFreeSpace()
public int getMaxRecordSize()
public final int getRecordsCount()
public long getNextPage()
public void setNextPage(long nextPage)
public long getPrevPage()
public void setPrevPage(long prevPage)
public void setRecordLongValue(int recordPosition,
int offset,
long value)
public long getRecordLongValue(int recordPosition,
int offset)
public byte[] getRecordBinaryValue(int recordPosition,
int offset,
int size)
public byte getRecordByteValue(int recordPosition,
int offset)
public void dumpToLog()
Copyright © 2009–2025 OrientDB. All rights reserved.