public class ProbabilisticSplitBrainProtectionConfigBuilder extends SplitBrainProtectionConfigBuilder
SplitBrainProtectionConfig configured with ProbabilisticSplitBrainProtectionFunction that
 considers members present in the context of a split brain protection using a probabilistic,
 adaptive split brain protection function.| Modifier and Type | Field and Description | 
|---|---|
| static long | DEFAULT_HEARTBEAT_INTERVAL_MILLISDefault value of heartbeat interval (in milliseconds). | 
| static long | DEFAULT_HEARTBEAT_PAUSE_MILLISDefault duration in milliseconds corresponding to number of potentially lost/delayed heartbeats that will
 be accepted before considering it to be an anomaly. | 
| static long | DEFAULT_MIN_STD_DEVIATIONDefault minimum standard deviation (in milliseconds) to use for the normal distribution used when
 calculating phi. | 
| static double | DEFAULT_PHI_THRESHOLDDefault threshold for suspicion (φ) level. | 
| static int | DEFAULT_SAMPLE_SIZEDefault number of samples to use for calculation of mean and standard deviation of inter-arrival times. | 
enabled, minimumClusterSize| Modifier and Type | Method and Description | 
|---|---|
| SplitBrainProtectionConfig | build() | 
| 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. | 
enabled, withSplitBrainProtectionSizepublic static final double DEFAULT_PHI_THRESHOLD
public static final int DEFAULT_SAMPLE_SIZE
public static final long DEFAULT_MIN_STD_DEVIATION
public static final long DEFAULT_HEARTBEAT_PAUSE_MILLIS
public static final long DEFAULT_HEARTBEAT_INTERVAL_MILLIS
public ProbabilisticSplitBrainProtectionConfigBuilder withSuspicionThreshold(double suspicionThreshold)
public ProbabilisticSplitBrainProtectionConfigBuilder withMaxSampleSize(int maxSampleSize)
public ProbabilisticSplitBrainProtectionConfigBuilder withMinStdDeviationMillis(long minStdDeviationMillis)
public ProbabilisticSplitBrainProtectionConfigBuilder withAcceptableHeartbeatPauseMillis(long acceptableHeartbeatPauseMillis)
public ProbabilisticSplitBrainProtectionConfigBuilder withHeartbeatIntervalMillis(long heartbeatIntervalMillis)
public SplitBrainProtectionConfig build()
build in class SplitBrainProtectionConfigBuilderCopyright © 2022 Hazelcast, Inc.. All rights reserved.