Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
static ProbabilisticQuorumConfigBuilder |
QuorumConfig.newProbabilisticQuorumConfigBuilder(String name,
int size)
Returns a builder for
QuorumConfig with the given name using a probabilistic quorum function,
for the given quorum size that is enabled by default. |
ProbabilisticQuorumConfigBuilder |
ProbabilisticQuorumConfigBuilder.withAcceptableHeartbeatPauseMillis(long acceptableHeartbeatPauseMillis)
Duration in milliseconds corresponding to number of potentially lost/delayed heartbeats that will be accepted
before considering it to be an anomaly.
|
ProbabilisticQuorumConfigBuilder |
ProbabilisticQuorumConfigBuilder.withHeartbeatIntervalMillis(long heartbeatIntervalMillis)
Bootstrap the stats with heartbeats that corresponds to this duration in milliseconds, with a rather high
standard deviation (since environment is unknown in the beginning).
|
ProbabilisticQuorumConfigBuilder |
ProbabilisticQuorumConfigBuilder.withMaxSampleSize(int maxSampleSize)
Number of samples to use for calculation of mean and standard deviation of inter-arrival times.
|
ProbabilisticQuorumConfigBuilder |
ProbabilisticQuorumConfigBuilder.withMinStdDeviationMillis(long minStdDeviationMillis)
Minimum standard deviation (in milliseconds) to use for the normal distribution used when calculating phi.
|
ProbabilisticQuorumConfigBuilder |
ProbabilisticQuorumConfigBuilder.withSuspicionThreshold(double suspicionThreshold)
Threshold for suspicion (φ) level.
|
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.