Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
SplitBrainProtectionConfig |
SplitBrainProtectionConfig.addListenerConfig(SplitBrainProtectionListenerConfig listenerConfig) |
abstract SplitBrainProtectionConfig |
SplitBrainProtectionConfigBuilder.build() |
SplitBrainProtectionConfig |
ProbabilisticSplitBrainProtectionConfigBuilder.build() |
SplitBrainProtectionConfig |
RecentlyActiveSplitBrainProtectionConfigBuilder.build() |
SplitBrainProtectionConfig |
Config.findSplitBrainProtectionConfig(String name)
Returns a read-only split-brain protection configuration for the given
name.
|
SplitBrainProtectionConfig |
Config.getSplitBrainProtectionConfig(String name)
Returns the
SplitBrainProtectionConfig for the given name, creating one
if necessary and adding it to the collection of known configurations. |
SplitBrainProtectionConfig |
SplitBrainProtectionConfig.setEnabled(boolean enabled) |
SplitBrainProtectionConfig |
SplitBrainProtectionConfig.setFunctionClassName(String functionClassName) |
SplitBrainProtectionConfig |
SplitBrainProtectionConfig.setFunctionImplementation(SplitBrainProtectionFunction functionImplementation) |
SplitBrainProtectionConfig |
SplitBrainProtectionConfig.setListenerConfigs(List<SplitBrainProtectionListenerConfig> listenerConfigs) |
SplitBrainProtectionConfig |
SplitBrainProtectionConfig.setMinimumClusterSize(int minimumClusterSize) |
SplitBrainProtectionConfig |
SplitBrainProtectionConfig.setName(String name) |
SplitBrainProtectionConfig |
SplitBrainProtectionConfig.setProtectOn(SplitBrainProtectionOn protectOn) |
Modifier and Type | Method and Description |
---|---|
Map<String,SplitBrainProtectionConfig> |
Config.getSplitBrainProtectionConfigs()
Returns the map of split brain protection configurations, mapped by
config name.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.addSplitBrainProtectionConfig(SplitBrainProtectionConfig splitBrainProtectionConfig)
Adds the split-brain protection configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setSplitBrainProtectionConfigs(Map<String,SplitBrainProtectionConfig> splitBrainProtectionConfigs)
Sets the map of split-brain protection configurations, mapped by config
name.
|
Constructor and Description |
---|
SplitBrainProtectionConfig(SplitBrainProtectionConfig splitBrainProtectionConfig) |
Copyright © 2020 Hazelcast, Inc.. All rights reserved.