public class DiscoveryConfigReadOnly extends DiscoveryConfig
DiscoveryConfig
Modifier and Type | Method and Description |
---|---|
void |
addDiscoveryStrategyConfig(DiscoveryStrategyConfig discoveryStrategyConfig)
Adds an enabled
DiscoveryStrategy
configuration. |
void |
setDiscoveryServiceProvider(DiscoveryServiceProvider discoveryServiceProvider) |
void |
setNodeFilter(NodeFilter nodeFilter) |
void |
setNodeFilterClass(String nodeFilterClass) |
getAsReadOnly, getDiscoveryServiceProvider, getDiscoveryStrategyConfigs, getNodeFilter, getNodeFilterClass, isEnabled
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
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.