public class DirectoryPageV2 extends ODurablePage
CRC32_OFFSET, MAGIC_NUMBER_OFFSET, MAX_PAGE_SIZE_BYTES, NEXT_FREE_POSITION, WAL_POSITION_OFFSET, WAL_SEGMENT_OFFSET
Constructor and Description |
---|
DirectoryPageV2(OCacheEntry cacheEntry) |
Modifier and Type | Method and Description |
---|---|
protected int |
getItemsOffset() |
byte |
getMaxLeftChildDepth(int localNodeIndex) |
byte |
getMaxRightChildDepth(int localNodeIndex) |
byte |
getNodeLocalDepth(int localNodeIndex) |
long |
getPointer(int localNodeIndex,
int index) |
protected void |
logSetMaxLeftChildDepth(int localNodeIndex,
byte maxLeftChildDepth,
byte pastDepth) |
protected void |
logSetMaxRightChildDepth(int localNodeIndex,
byte maxRightChildDepth,
byte pastDepth) |
protected void |
logSetNodeLocalDepth(int localNodeIndex,
byte nodeLocalDepth,
byte pastDepth) |
protected void |
logSetPointer(int localNodeIndex,
int index,
long pointer,
long pastPointer) |
void |
setMaxLeftChildDepth(int localNodeIndex,
byte maxLeftChildDepth) |
void |
setMaxRightChildDepth(int localNodeIndex,
byte maxRightChildDepth) |
void |
setNodeLocalDepth(int localNodeIndex,
byte nodeLocalDepth) |
void |
setPointer(int localNodeIndex,
int index,
long pointer) |
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 DirectoryPageV2(OCacheEntry cacheEntry)
public void setMaxLeftChildDepth(int localNodeIndex, byte maxLeftChildDepth)
protected void logSetMaxLeftChildDepth(int localNodeIndex, byte maxLeftChildDepth, byte pastDepth)
public byte getMaxLeftChildDepth(int localNodeIndex)
public void setMaxRightChildDepth(int localNodeIndex, byte maxRightChildDepth)
protected void logSetMaxRightChildDepth(int localNodeIndex, byte maxRightChildDepth, byte pastDepth)
public byte getMaxRightChildDepth(int localNodeIndex)
public void setNodeLocalDepth(int localNodeIndex, byte nodeLocalDepth)
protected void logSetNodeLocalDepth(int localNodeIndex, byte nodeLocalDepth, byte pastDepth)
public byte getNodeLocalDepth(int localNodeIndex)
public void setPointer(int localNodeIndex, int index, long pointer)
protected void logSetPointer(int localNodeIndex, int index, long pointer, long pastPointer)
public long getPointer(int localNodeIndex, int index)
protected int getItemsOffset()
Copyright © 2009–2020 OrientDB. All rights reserved.