Class MetaPageUpdatePartitionDataRecordV2
- java.lang.Object
-
- org.apache.ignite.internal.pagemem.wal.record.WALRecord
-
- org.apache.ignite.internal.pagemem.wal.record.delta.PageDeltaRecord
-
- org.apache.ignite.internal.pagemem.wal.record.delta.MetaPageUpdatePartitionDataRecord
-
- org.apache.ignite.internal.pagemem.wal.record.delta.MetaPageUpdatePartitionDataRecordV2
-
- All Implemented Interfaces:
WalRecordCacheGroupAware
- Direct Known Subclasses:
MetaPageUpdatePartitionDataRecordV3
public class MetaPageUpdatePartitionDataRecordV2 extends MetaPageUpdatePartitionDataRecord
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.ignite.internal.pagemem.wal.record.WALRecord
WALRecord.RecordPurpose, WALRecord.RecordType
-
-
Constructor Summary
Constructors Constructor Description MetaPageUpdatePartitionDataRecordV2(int grpId, long pageId, long updateCntr, long globalRmvId, int partSize, long cntrsPageId, byte state, int allocatedIdxCandidate, long link)MetaPageUpdatePartitionDataRecordV2(DataInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyDelta(PageMemory pageMem, long pageAddr)Apply changes from this delta to the given page.longlink()voidtoBytes(ByteBuffer buf)StringtoString()WALRecord.RecordTypetype()-
Methods inherited from class org.apache.ignite.internal.pagemem.wal.record.delta.MetaPageUpdatePartitionDataRecord
allocatedIndexCandidate, countersPageId, globalRemoveId, partitionSize, state, updateCounter
-
Methods inherited from class org.apache.ignite.internal.pagemem.wal.record.delta.PageDeltaRecord
fullPageId, groupId, pageId
-
-
-
-
Constructor Detail
-
MetaPageUpdatePartitionDataRecordV2
public MetaPageUpdatePartitionDataRecordV2(int grpId, long pageId, long updateCntr, long globalRmvId, int partSize, long cntrsPageId, byte state, int allocatedIdxCandidate, long link)- Parameters:
grpId- Group id.pageId- Page id.updateCntr- Update counter.globalRmvId- Global remove id.partSize- Partition size.cntrsPageId- Cntrs page id.state- State.allocatedIdxCandidate- Allocated index candidate.link- Link.
-
MetaPageUpdatePartitionDataRecordV2
public MetaPageUpdatePartitionDataRecordV2(DataInput in) throws IOException
- Parameters:
in- Input.- Throws:
IOException
-
-
Method Detail
-
applyDelta
public void applyDelta(PageMemory pageMem, long pageAddr) throws IgniteCheckedException
Apply changes from this delta to the given page. It is assumed that the given buffer represents page state right before this update.- Overrides:
applyDeltain classMetaPageUpdatePartitionDataRecord- Parameters:
pageMem- Page memory.pageAddr- Page address.- Throws:
IgniteCheckedException- If failed.
-
link
public long link()
-
toBytes
public void toBytes(ByteBuffer buf)
- Overrides:
toBytesin classMetaPageUpdatePartitionDataRecord- Parameters:
buf- Buffer.
-
type
public WALRecord.RecordType type()
- Overrides:
typein classMetaPageUpdatePartitionDataRecord- Returns:
- Entry type.
-
toString
public String toString()
- Overrides:
toStringin classMetaPageUpdatePartitionDataRecord
-
-