public class ConsistencyCheckResult extends Object
Constructor and Description |
---|
ConsistencyCheckResult() |
ConsistencyCheckResult(int lastCheckedPartitionCount,
int lastDiffPartitionCount,
int lastCheckedLeafCount,
int lastDiffLeafCount,
int lastEntriesToSync)
Constructs the result of the WAN consistency check comparison
|
Modifier and Type | Method and Description |
---|---|
float |
getDiffPercentage() |
int |
getLastCheckedLeafCount() |
int |
getLastCheckedPartitionCount() |
int |
getLastDiffLeafCount() |
int |
getLastDiffPartitionCount() |
int |
getLastEntriesToSync() |
boolean |
isDone() |
boolean |
isRunning() |
public ConsistencyCheckResult()
public ConsistencyCheckResult(int lastCheckedPartitionCount, int lastDiffPartitionCount, int lastCheckedLeafCount, int lastDiffLeafCount, int lastEntriesToSync)
lastCheckedPartitionCount
- the number of last checked
partitionslastDiffPartitionCount
- the number of different partitionslastCheckedLeafCount
- the number of the checked Merkle
tree leaveslastDiffLeafCount
- the number of the Merkle trees
found differentlastEntriesToSync
- the number of the entries need topublic int getLastCheckedPartitionCount()
public int getLastDiffPartitionCount()
public int getLastCheckedLeafCount()
public int getLastDiffLeafCount()
public int getLastEntriesToSync()
public boolean isRunning()
public float getDiffPercentage()
public boolean isDone()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.