public abstract class OAbstractWALRecord extends Object implements WriteableWALRecord
Modifier and Type | Field and Description |
---|---|
protected OLogSequenceNumber |
lsn |
Modifier | Constructor and Description |
---|---|
protected |
OAbstractWALRecord() |
protected |
OAbstractWALRecord(OLogSequenceNumber previousCheckpoint) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
void |
freeBinaryContent() |
ByteBuffer |
getBinaryContent() |
int |
getBinaryContentLen() |
int |
getDiskSize() |
int |
getDistance() |
OLogSequenceNumber |
getLsn() |
int |
hashCode() |
boolean |
isWritten() |
void |
setBinaryContent(ByteBuffer buffer,
long pointer) |
void |
setDiskSize(int diskSize) |
void |
setDistance(int distance) |
void |
setLsn(OLogSequenceNumber lsn) |
String |
toString() |
protected String |
toString(String iToAppend) |
void |
written() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
fromStream, getId, isUpdateMasterRecord, serializedSize, toStream, toStream
protected volatile OLogSequenceNumber lsn
protected OAbstractWALRecord()
protected OAbstractWALRecord(OLogSequenceNumber previousCheckpoint)
public OLogSequenceNumber getLsn()
getLsn
in interface OWALRecord
public void setLsn(OLogSequenceNumber lsn)
setLsn
in interface OWALRecord
public void setBinaryContent(ByteBuffer buffer, long pointer)
setBinaryContent
in interface WriteableWALRecord
public ByteBuffer getBinaryContent()
getBinaryContent
in interface WriteableWALRecord
public void freeBinaryContent()
freeBinaryContent
in interface WriteableWALRecord
public int getBinaryContentLen()
getBinaryContentLen
in interface WriteableWALRecord
public void setDistance(int distance)
setDistance
in interface OWALRecord
public void setDiskSize(int diskSize)
setDiskSize
in interface OWALRecord
public int getDistance()
getDistance
in interface OWALRecord
public int getDiskSize()
getDiskSize
in interface OWALRecord
public void written()
written
in interface WriteableWALRecord
public boolean isWritten()
isWritten
in interface WriteableWALRecord
Copyright © 2009–2020 OrientDB. All rights reserved.