public class PartitionHashRecordV2 extends VisorDataTransferObject
| Modifier and Type | Field and Description |
|---|---|
static long |
MOVING_PARTITION_SIZE
Moving partition size.
|
V1, V2, V3| Constructor and Description |
|---|
PartitionHashRecordV2()
Default constructor for Externalizable.
|
PartitionHashRecordV2(PartitionKeyV2 partKey,
boolean isPrimary,
Object consistentId,
int partHash,
long updateCntr,
long size) |
| Modifier and Type | Method and Description |
|---|---|
Object |
consistentId() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isPrimary() |
int |
partitionHash() |
PartitionKeyV2 |
partitionKey() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
long |
size() |
String |
toString() |
long |
updateCounter() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic static final long MOVING_PARTITION_SIZE
public PartitionHashRecordV2(PartitionKeyV2 partKey, boolean isPrimary, Object consistentId, int partHash, long updateCntr, long size)
partKey - Partition key.isPrimary - Is primary.consistentId - Consistent id.partHash - Partition hash.updateCntr - Update counter.size - Size.public PartitionHashRecordV2()
public PartitionKeyV2 partitionKey()
public boolean isPrimary()
public Object consistentId()
public int partitionHash()
public long updateCounter()
public long size()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019