Class OAbstractPageWALRecord
java.lang.Object
com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OAbstractWALRecord
com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OOperationUnitRecord
com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OOperationUnitBodyRecord
com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OAbstractPageWALRecord
- All Implemented Interfaces:
WriteableWALRecord,OWALRecord
- Direct Known Subclasses:
OUpdatePageRecord
- Since:
- 29.04.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
ConstructorsModifierConstructorDescriptionprotectedprotectedOAbstractPageWALRecord(long pageIndex, long fileId, long operationUnitId) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeserializeFromByteBuffer(ByteBuffer buffer) booleanlonglonginthashCode()intprotected voidserializeToByteBuffer(ByteBuffer buffer) toString()Methods inherited from class com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OOperationUnitRecord
fromStream, getOperationUnitId, setOperationUnitId, toStream, toStreamMethods 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
-
OAbstractPageWALRecord
protected OAbstractPageWALRecord() -
OAbstractPageWALRecord
protected OAbstractPageWALRecord(long pageIndex, long fileId, long operationUnitId)
-
-
Method Details
-
serializeToByteBuffer
- Specified by:
serializeToByteBufferin classOOperationUnitRecord
-
deserializeFromByteBuffer
- Specified by:
deserializeFromByteBufferin classOOperationUnitRecord
-
serializedSize
public int serializedSize()- Specified by:
serializedSizein interfaceWriteableWALRecord- Overrides:
serializedSizein classOOperationUnitRecord
-
getPageIndex
public long getPageIndex() -
getFileId
public long getFileId() -
equals
- Overrides:
equalsin classOOperationUnitRecord
-
hashCode
public int hashCode()- Overrides:
hashCodein classOOperationUnitRecord
-
toString
- Overrides:
toStringin classOOperationUnitRecord
-