public final class DiscoveryServiceSettings extends Object
DiscoveryServiceSettings
class is used to pass the necessary
configuration to create a DiscoveryService
to the
DiscoveryServiceProvider
. This approach is chosen to have an easily
extensible way to provide new configuration properties over time.Constructor and Description |
---|
DiscoveryServiceSettings() |
Modifier and Type | Method and Description |
---|---|
List<DiscoveryStrategyConfig> |
getAllDiscoveryConfigs() |
ClassLoader |
getConfigClassLoader() |
DiscoveryConfig |
getDiscoveryConfig() |
DiscoveryMode |
getDiscoveryMode() |
DiscoveryNode |
getDiscoveryNode() |
ILogger |
getLogger() |
boolean |
isAutoDetectionEnabled() |
DiscoveryServiceSettings |
setAliasedDiscoveryConfigs(List<DiscoveryStrategyConfig> aliasedDiscoveryConfigs) |
DiscoveryServiceSettings |
setAutoDetectionEnabled(boolean enabled) |
DiscoveryServiceSettings |
setConfigClassLoader(ClassLoader configClassLoader) |
DiscoveryServiceSettings |
setDiscoveryConfig(DiscoveryConfig discoveryConfig) |
DiscoveryServiceSettings |
setDiscoveryMode(DiscoveryMode discoveryMode) |
DiscoveryServiceSettings |
setDiscoveryNode(DiscoveryNode discoveryNode) |
DiscoveryServiceSettings |
setLogger(ILogger logger) |
public DiscoveryNode getDiscoveryNode()
public DiscoveryServiceSettings setDiscoveryNode(DiscoveryNode discoveryNode)
public ILogger getLogger()
public DiscoveryServiceSettings setLogger(ILogger logger)
public ClassLoader getConfigClassLoader()
public DiscoveryServiceSettings setConfigClassLoader(ClassLoader configClassLoader)
public DiscoveryConfig getDiscoveryConfig()
public DiscoveryServiceSettings setDiscoveryConfig(DiscoveryConfig discoveryConfig)
public DiscoveryMode getDiscoveryMode()
public DiscoveryServiceSettings setDiscoveryMode(DiscoveryMode discoveryMode)
public List<DiscoveryStrategyConfig> getAllDiscoveryConfigs()
public DiscoveryServiceSettings setAliasedDiscoveryConfigs(List<DiscoveryStrategyConfig> aliasedDiscoveryConfigs)
public boolean isAutoDetectionEnabled()
public DiscoveryServiceSettings setAutoDetectionEnabled(boolean enabled)
Copyright © 2020 Hazelcast, Inc.. All rights reserved.