QuorumCheck.
but keep this until we have a transition defined.@Deprecated public static class QuorumCheck.NumericQuorumCheck extends java.lang.Object implements QuorumCheck, java.io.Serializable
QuorumCheck.NumericQuorumCheck, QuorumCheck.QuorumChecksQuorumCheck.LinearRangeQuorumCheck| Constructor and Description |
|---|
QuorumCheck.NumericQuorumCheck(int minRequiredSize,
double minRequiredRatio,
boolean allowEmpty)
Deprecated.
|
public QuorumCheck.NumericQuorumCheck(int minRequiredSize,
double minRequiredRatio,
boolean allowEmpty)
public boolean isQuorate(int sizeHealthy,
int totalSize)
isQuorate in interface QuorumChecksizeHealthy - Number of healthy memberstotalSize - Total number of members one would expect to be healthy (i.e. ignoring stopped members)public java.lang.String toString()
toString in class java.lang.Object