public class ConsistencyCheckResult extends Object
Constructor and Description |
---|
ConsistencyCheckResult(UUID uuid) |
ConsistencyCheckResult(UUID uuid,
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() |
UUID |
getUuid() |
boolean |
isDone() |
boolean |
isRunning() |
public ConsistencyCheckResult(UUID uuid)
public ConsistencyCheckResult(UUID uuid, int lastCheckedPartitionCount, int lastDiffPartitionCount, int lastCheckedLeafCount, int lastDiffLeafCount, int lastEntriesToSync)
uuid
- the UUID of the consistency check
requestlastCheckedPartitionCount
- 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 UUID getUuid()
public int getLastCheckedPartitionCount()
public int getLastDiffPartitionCount()
public int getLastCheckedLeafCount()
public int getLastDiffLeafCount()
public int getLastEntriesToSync()
public boolean isRunning()
public float getDiffPercentage()
public boolean isDone()
Copyright © 2019 Hazelcast, Inc.. All rights reserved.