Class PartitionMetaStateRecord
- java.lang.Object
-
- org.apache.ignite.internal.pagemem.wal.record.WALRecord
-
- org.apache.ignite.internal.pagemem.wal.record.delta.PartitionMetaStateRecord
-
- All Implemented Interfaces:
WalRecordCacheGroupAware
public class PartitionMetaStateRecord extends WALRecord implements WalRecordCacheGroupAware
-
-
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 PartitionMetaStateRecord(int grpId, int partId, GridDhtPartitionState state, long updateCounter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgroupId()intpartitionId()bytestate()StringtoString()WALRecord.RecordTypetype()longupdateCounter()
-
-
-
Constructor Detail
-
PartitionMetaStateRecord
public PartitionMetaStateRecord(int grpId, int partId, GridDhtPartitionState state, long updateCounter)- Parameters:
grpId- Cache group ID.partId- Partition ID.state- State.updateCounter- Update counter.
-
-
Method Detail
-
type
public WALRecord.RecordType type()
-
state
public byte state()
-
groupId
public int groupId()
- Specified by:
groupIdin interfaceWalRecordCacheGroupAware- Returns:
- Cache group ID.
-
partitionId
public int partitionId()
-
updateCounter
public long updateCounter()
- Returns:
- Rollback counter.
-
-