public class IdleVerifyResultV2 extends VisorDataTransferObject
VerifyBackupPartitionsTaskV2.V1, V2, V3, V4| Constructor and Description |
|---|
IdleVerifyResultV2()
Default constructor for Externalizable.
|
IdleVerifyResultV2(Map<ClusterNode,Exception> exceptions) |
IdleVerifyResultV2(Map<PartitionKeyV2,List<PartitionHashRecordV2>> clusterHashes,
Map<ClusterNode,Exception> exceptions) |
| Modifier and Type | Method and Description |
|---|---|
Map<PartitionKeyV2,List<PartitionHashRecordV2>> |
counterConflicts() |
boolean |
equals(Object o) |
Map<ClusterNode,Exception> |
exceptions() |
byte |
getProtocolVersion() |
boolean |
hasConflicts() |
int |
hashCode() |
Map<PartitionKeyV2,List<PartitionHashRecordV2>> |
hashConflicts() |
Map<PartitionKeyV2,List<PartitionHashRecordV2>> |
lostPartitions() |
Map<PartitionKeyV2,List<PartitionHashRecordV2>> |
movingPartitions() |
void |
print(Consumer<String> printer,
boolean printExceptionMessages)
Print formatted result to the given printer.
|
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
readExternal, toList, toSet, writeExternalpublic IdleVerifyResultV2()
public IdleVerifyResultV2(Map<ClusterNode,Exception> exceptions)
exceptions - Occurred exceptions.public IdleVerifyResultV2(Map<PartitionKeyV2,List<PartitionHashRecordV2>> clusterHashes, Map<ClusterNode,Exception> exceptions)
clusterHashes - Map of cluster partition hashes.exceptions - Exceptions on each cluster node.public byte getProtocolVersion()
getProtocolVersion in class VisorDataTransferObjectprotected 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.public Map<PartitionKeyV2,List<PartitionHashRecordV2>> counterConflicts()
public Map<PartitionKeyV2,List<PartitionHashRecordV2>> hashConflicts()
public Map<PartitionKeyV2,List<PartitionHashRecordV2>> movingPartitions()
public Map<PartitionKeyV2,List<PartitionHashRecordV2>> lostPartitions()
public boolean hasConflicts()
true if any conflicts were discovered during the check.public Map<ClusterNode,Exception> exceptions()
public void print(Consumer<String> printer, boolean printExceptionMessages)
printer - Consumer for handle formatted result.printExceptionMessages - true if exceptions must be included too.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021