public class MerkleTreeNodeValueComparison extends Object implements com.hazelcast.nio.serialization.IdentifiedDataSerializable
MerkleTree| Constructor and Description |
|---|
MerkleTreeNodeValueComparison() |
MerkleTreeNodeValueComparison(Map<Integer,int[]> merkleTreeNodeValues) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFactoryId() |
int |
getId() |
int[] |
getMerkleTreeNodeValues(int partitionId)
Returns the merkle tree node order-value pairs for the comparison of the
given
partitionId. |
Set<Integer> |
getPartitionIds()
Returns the partition IDs covered by this merkle tree comparison.
|
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
public int[] getMerkleTreeNodeValues(int partitionId)
partitionId.partitionId - the partition ID of the comparisonpublic Set<Integer> getPartitionIds()
public int getFactoryId()
getFactoryId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializablepublic int getId()
getId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializablepublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.