Uses of Class
com.hazelcast.config.ProbabilisticSplitBrainProtectionConfigBuilder
-
Uses of ProbabilisticSplitBrainProtectionConfigBuilder in com.hazelcast.config
Modifier and TypeMethodDescriptionSplitBrainProtectionConfig.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.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.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.withMaxSampleSize
(int maxSampleSize) Number of samples to use for calculation of mean and standard deviation of inter-arrival times.ProbabilisticSplitBrainProtectionConfigBuilder.withMinStdDeviationMillis
(long minStdDeviationMillis) Minimum standard deviation (in milliseconds) to use for the normal distribution used when calculating phi.ProbabilisticSplitBrainProtectionConfigBuilder.withSuspicionThreshold
(double suspicionThreshold) Threshold for suspicion (φ) level.