Uses of Class
com.hazelcast.config.ProbabilisticSplitBrainProtectionConfigBuilder
Packages that use ProbabilisticSplitBrainProtectionConfigBuilder
-
Uses of ProbabilisticSplitBrainProtectionConfigBuilder in com.hazelcast.config
Methods in com.hazelcast.config that return ProbabilisticSplitBrainProtectionConfigBuilderModifier and TypeMethodDescriptionSplitBrainProtectionConfig.newProbabilisticSplitBrainProtectionConfigBuilder(String name, int minimumClusterSize) Returns a builder forSplitBrainProtectionConfigwith the givennameusing a probabilistic split brain protection function, for the given split brain protectionsizethat 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.