Class OOperationUnitRecord
java.lang.Object
com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OAbstractWALRecord
com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OOperationUnitRecord
- All Implemented Interfaces:
WriteableWALRecord,OWALRecord
- Direct Known Subclasses:
OAtomicUnitStartRecord,OHighLevelTransactionChangeRecord,OOperationUnitBodyRecord
- Since:
- 30.05.13
- Author:
- Andrey Lomakin (a.lomakin-at-orientdb.com)
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OAbstractWALRecord
logSequenceNumber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddeserializeFromByteBuffer(ByteBuffer buffer) booleanfinal intfromStream(byte[] content, int offset) longinthashCode()intprotected abstract voidserializeToByteBuffer(ByteBuffer buffer) voidsetOperationUnitId(long operationUnitId) final inttoStream(byte[] content, int offset) final voidtoStream(ByteBuffer buffer) toString()Methods inherited from class com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OAbstractWALRecord
freeBinaryContent, getBinaryContent, getBinaryContentLen, getDiskSize, getDistance, getLsn, isWritten, setBinaryContent, setDiskSize, setDistance, setLsn, toString, writtenMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.storage.impl.local.paginated.wal.common.WriteableWALRecord
getId
-
Constructor Details
-
OOperationUnitRecord
protected OOperationUnitRecord() -
OOperationUnitRecord
protected OOperationUnitRecord(long operationUnitId)
-
-
Method Details
-
getOperationUnitId
public long getOperationUnitId() -
setOperationUnitId
public void setOperationUnitId(long operationUnitId) -
toStream
public final int toStream(byte[] content, int offset) -
toStream
-
fromStream
public final int fromStream(byte[] content, int offset) -
serializedSize
public int serializedSize() -
serializeToByteBuffer
-
deserializeFromByteBuffer
-
equals
- Overrides:
equalsin classOAbstractWALRecord
-
hashCode
public int hashCode()- Overrides:
hashCodein classOAbstractWALRecord
-
toString
- Overrides:
toStringin classOAbstractWALRecord
-