public final class ClusterPositionMapBucketUpdateEntryPO extends PageOperationRecord
lsn
Constructor and Description |
---|
ClusterPositionMapBucketUpdateEntryPO() |
ClusterPositionMapBucketUpdateEntryPO(int index,
byte oldRecordStatus,
int oldRecordPageIndex,
int oldRecordPosition,
byte recordStatus,
int recordPageIndex,
int recordPosition) |
Modifier and Type | Method and Description |
---|---|
protected void |
deserializeFromByteBuffer(ByteBuffer buffer) |
int |
getId() |
int |
getIndex() |
int |
getOldRecordPageIndex() |
int |
getOldRecordPosition() |
byte |
getOldRecordStatus() |
int |
getRecordPageIndex() |
int |
getRecordPosition() |
byte |
getRecordStatus() |
void |
redo(OCacheEntry cacheEntry) |
int |
serializedSize() |
protected void |
serializeToByteBuffer(ByteBuffer buffer) |
void |
undo(OCacheEntry cacheEntry) |
getFileId, getPageIndex, isUpdateMasterRecord, setFileId, setPageIndex
equals, fromStream, getOperationUnitId, hashCode, setOperationUnitId, toStream, toStream, toString
freeBinaryContent, getBinaryContent, getBinaryContentLen, getDiskSize, getDistance, getLsn, isWritten, setBinaryContent, setDiskSize, setDistance, setLsn, toString, written
public ClusterPositionMapBucketUpdateEntryPO()
public ClusterPositionMapBucketUpdateEntryPO(int index, byte oldRecordStatus, int oldRecordPageIndex, int oldRecordPosition, byte recordStatus, int recordPageIndex, int recordPosition)
public int getIndex()
public byte getOldRecordStatus()
public int getOldRecordPageIndex()
public int getOldRecordPosition()
public byte getRecordStatus()
public int getRecordPageIndex()
public int getRecordPosition()
public void redo(OCacheEntry cacheEntry)
redo
in class PageOperationRecord
public void undo(OCacheEntry cacheEntry)
undo
in class PageOperationRecord
public int getId()
public int serializedSize()
serializedSize
in interface WriteableWALRecord
serializedSize
in class PageOperationRecord
protected void serializeToByteBuffer(ByteBuffer buffer)
serializeToByteBuffer
in class PageOperationRecord
protected void deserializeFromByteBuffer(ByteBuffer buffer)
deserializeFromByteBuffer
in class PageOperationRecord
Copyright © 2009–2020 OrientDB. All rights reserved.