public class DiscoveryConfigReadOnly extends DiscoveryConfig
DiscoveryConfig
Modifier and Type | Method and Description |
---|---|
void |
addDiscoveryStrategyConfig(DiscoveryStrategyConfig discoveryStrategyConfig)
Deprecated.
Adds an enabled
DiscoveryStrategy configuration. |
void |
setDiscoveryServiceProvider(DiscoveryServiceProvider discoveryServiceProvider)
Deprecated.
|
void |
setDiscoveryStrategyConfigs(List<DiscoveryStrategyConfig> discoveryStrategyConfigs)
Deprecated.
Sets the strategy configurations for this discovery config.
|
void |
setNodeFilter(NodeFilter nodeFilter)
Deprecated.
|
void |
setNodeFilterClass(String nodeFilterClass)
Deprecated.
|
equals, getAsReadOnly, getDiscoveryServiceProvider, getDiscoveryStrategyConfigs, getFactoryId, getId, getNodeFilter, getNodeFilterClass, hashCode, isEnabled, readData, toString, writeData
public void setDiscoveryServiceProvider(DiscoveryServiceProvider discoveryServiceProvider)
setDiscoveryServiceProvider
in class DiscoveryConfig
public void setNodeFilter(NodeFilter nodeFilter)
setNodeFilter
in class DiscoveryConfig
public void setNodeFilterClass(String nodeFilterClass)
setNodeFilterClass
in class DiscoveryConfig
public void addDiscoveryStrategyConfig(DiscoveryStrategyConfig discoveryStrategyConfig)
DiscoveryConfig
DiscoveryStrategy
configuration.
All added configurations are strictly meant to be enabled, this is to
remember when building custom Config
instances.
addDiscoveryStrategyConfig
in class DiscoveryConfig
discoveryStrategyConfig
- the DiscoveryStrategyConfig
to addpublic void setDiscoveryStrategyConfigs(List<DiscoveryStrategyConfig> discoveryStrategyConfigs)
DiscoveryConfig
setDiscoveryStrategyConfigs
in class DiscoveryConfig
discoveryStrategyConfigs
- the strategy configurationsCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.