Package io.atomix.cluster.discovery
Class BootstrapDiscoveryConfig
java.lang.Object
io.atomix.cluster.discovery.NodeDiscoveryConfig
io.atomix.cluster.discovery.BootstrapDiscoveryConfig
- All Implemented Interfaces:
Config,TypedConfig<NodeDiscoveryProvider.Type>
Bootstrap discovery configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNodes()Returns the configured bootstrap nodes.getType()setNodes(Collection<NodeConfig> nodes) Sets the bootstrap nodes.
-
Constructor Details
-
BootstrapDiscoveryConfig
public BootstrapDiscoveryConfig()
-
-
Method Details
-
getType
-
getNodes
Returns the configured bootstrap nodes.- Returns:
- the configured bootstrap nodes
-
setNodes
Sets the bootstrap nodes.- Parameters:
nodes- the bootstrap nodes- Returns:
- the bootstrap provider configuration
-