public abstract class OAbstractPageWALRecord<T> extends OOperationUnitBodyRecord<T>
lsn
Modifier | Constructor and Description |
---|---|
protected |
OAbstractPageWALRecord() |
protected |
OAbstractPageWALRecord(long pageIndex,
long fileId,
T operationUnitId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
fromStream(byte[] content,
int offset) |
long |
getFileId() |
long |
getPageIndex() |
int |
hashCode() |
int |
serializedSize() |
int |
toStream(byte[] content,
int offset) |
void |
toStream(ByteBuffer buffer) |
String |
toString() |
getOperationUnitId
freeBinaryContent, getBinaryContent, getBinaryContentLen, getDiskSize, getDistance, getLsn, isWritten, setBinaryContent, setDiskSize, setDistance, setLsn, toString, written
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, isUpdateMasterRecord
protected OAbstractPageWALRecord()
protected OAbstractPageWALRecord(long pageIndex, long fileId, T operationUnitId)
public int toStream(byte[] content, int offset)
toStream
in interface OWriteableWALRecord
toStream
in class OOperationUnitRecord<T>
public void toStream(ByteBuffer buffer)
toStream
in interface OWriteableWALRecord
toStream
in class OOperationUnitRecord<T>
public int fromStream(byte[] content, int offset)
fromStream
in interface OWriteableWALRecord
fromStream
in class OOperationUnitRecord<T>
public int serializedSize()
serializedSize
in interface OWriteableWALRecord
serializedSize
in class OOperationUnitRecord<T>
public long getPageIndex()
public long getFileId()
public boolean equals(Object o)
equals
in class OOperationUnitRecord<T>
public int hashCode()
hashCode
in class OOperationUnitRecord<T>
public String toString()
toString
in class OOperationUnitRecord<T>
Copyright © 2009–2020 OrientDB. All rights reserved.