Uses of Class
com.hazelcast.config.ProbabilisticSplitBrainProtectionConfigBuilder
Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
-
Uses of ProbabilisticSplitBrainProtectionConfigBuilder in com.hazelcast.config
Methods in com.hazelcast.config that return ProbabilisticSplitBrainProtectionConfigBuilder Modifier and Type Method Description static ProbabilisticSplitBrainProtectionConfigBuilder
SplitBrainProtectionConfig. newProbabilisticSplitBrainProtectionConfigBuilder(String name, int minimumClusterSize)
Returns a builder forSplitBrainProtectionConfig
with the givenname
using a probabilistic split brain protection function, for the given split brain protectionsize
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.