Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
static ProbabilisticSplitBrainProtectionConfigBuilder |
SplitBrainProtectionConfig.newProbabilisticSplitBrainProtectionConfigBuilder(String name,
int minimumClusterSize)
Returns a builder for
SplitBrainProtectionConfig with the given name using a probabilistic
split brain protection function, for the given split brain protection size that is enabled by default. |
ProbabilisticSplitBrainProtectionConfigBuilder |
ProbabilisticSplitBrainProtectionConfigBuilder.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.
|
ProbabilisticSplitBrainProtectionConfigBuilder |
ProbabilisticSplitBrainProtectionConfigBuilder.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).
|
ProbabilisticSplitBrainProtectionConfigBuilder |
ProbabilisticSplitBrainProtectionConfigBuilder.withMaxSampleSize(int maxSampleSize)
Number of samples to use for calculation of mean and standard deviation of inter-arrival times.
|
ProbabilisticSplitBrainProtectionConfigBuilder |
ProbabilisticSplitBrainProtectionConfigBuilder.withMinStdDeviationMillis(long minStdDeviationMillis)
Minimum standard deviation (in milliseconds) to use for the normal distribution used when calculating phi.
|
ProbabilisticSplitBrainProtectionConfigBuilder |
ProbabilisticSplitBrainProtectionConfigBuilder.withSuspicionThreshold(double suspicionThreshold)
Threshold for suspicion (φ) level.
|
Copyright © 2024 Hazelcast, Inc.. All rights reserved.