public final class DiscoveryServiceSettings extends Object
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() |
DiscoveryServiceSettings |
setAliasedDiscoveryConfigs(List<DiscoveryStrategyConfig> aliasedDiscoveryConfigs) |
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)
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.