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.
|
void |
setNodeFilter(NodeFilter nodeFilter)
Deprecated.
|
void |
setNodeFilterClass(String nodeFilterClass)
Deprecated.
|
getAsReadOnly, getDiscoveryServiceProvider, getDiscoveryStrategyConfigs, getNodeFilter, getNodeFilterClass, isEnabled, toString
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)
setDiscoveryStrategyConfigs
in class DiscoveryConfig
Copyright © 2018 Hazelcast, Inc.. All rights reserved.