public abstract class SplitBrainProtectionConfigBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled
Whether this split brain protection config is enabled or not
|
protected int |
minimumClusterSize
The minimum cluster size: expected number of live members in cluster not to be considered it split
|
Constructor and Description |
---|
SplitBrainProtectionConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract SplitBrainProtectionConfig |
build() |
SplitBrainProtectionConfigBuilder |
enabled(boolean enabled) |
SplitBrainProtectionConfigBuilder |
withSplitBrainProtectionSize(int minimumClusterSize) |
protected int minimumClusterSize
protected boolean enabled
public SplitBrainProtectionConfigBuilder enabled(boolean enabled)
public SplitBrainProtectionConfigBuilder withSplitBrainProtectionSize(int minimumClusterSize)
public abstract SplitBrainProtectionConfig build()
Copyright © 2020 Hazelcast, Inc.. All rights reserved.