Class DiscoveryServiceSettings
java.lang.Object
com.hazelcast.spi.discovery.integration.DiscoveryServiceSettings
The
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
setAliasedDiscoveryConfigs
(List<DiscoveryStrategyConfig> aliasedDiscoveryConfigs) setAutoDetectionEnabled
(boolean enabled) setConfigClassLoader
(ClassLoader configClassLoader) setDiscoveryConfig
(DiscoveryConfig discoveryConfig) setDiscoveryNode
(DiscoveryNode discoveryNode)
-
Constructor Details
-
DiscoveryServiceSettings
public DiscoveryServiceSettings()
-
-
Method Details
-
getDiscoveryNode
-
setDiscoveryNode
-
getLogger
-
setLogger
-
getConfigClassLoader
-
setConfigClassLoader
-
getDiscoveryConfig
-
setDiscoveryConfig
-
getAllDiscoveryConfigs
-
setAliasedDiscoveryConfigs
public DiscoveryServiceSettings setAliasedDiscoveryConfigs(List<DiscoveryStrategyConfig> aliasedDiscoveryConfigs) -
isAutoDetectionEnabled
public boolean isAutoDetectionEnabled() -
setAutoDetectionEnabled
-