Package io.atomix.cluster.discovery
Class BootstrapDiscoveryBuilder
java.lang.Object
io.atomix.cluster.discovery.NodeDiscoveryBuilder
io.atomix.cluster.discovery.BootstrapDiscoveryBuilder
- All Implemented Interfaces:
Builder<NodeDiscoveryProvider>
Bootstrap discovery builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Sets the bootstrap nodes.withNodes(Collection<Node> locations) Sets the bootstrap nodes.
-
Constructor Details
-
BootstrapDiscoveryBuilder
public BootstrapDiscoveryBuilder()
-
-
Method Details
-
withNodes
Sets the bootstrap nodes.- Parameters:
nodes- the bootstrap nodes- Returns:
- the location provider builder
-
withNodes
Sets the bootstrap nodes.- Parameters:
locations- the bootstrap member locations- Returns:
- the location provider builder
-
build
-