Uses of Class
io.atomix.cluster.discovery.BootstrapDiscoveryBuilder
| Package | Description |
|---|---|
| io.atomix.cluster.discovery |
Provides classes and interfaces for extensible cluster membership discovery.
|
-
Uses of BootstrapDiscoveryBuilder in io.atomix.cluster.discovery
Methods in io.atomix.cluster.discovery that return BootstrapDiscoveryBuilder Modifier and Type Method Description static BootstrapDiscoveryBuilderBootstrapDiscoveryProvider. builder()Creates a new bootstrap provider builder.BootstrapDiscoveryBuilderBootstrapDiscoveryBuilder. withFailureThreshold(int failureThreshold)Sets the phi accrual failure threshold.BootstrapDiscoveryBuilderBootstrapDiscoveryBuilder. withFailureTimeout(java.time.Duration failureTimeout)Sets the failure timeout to use prior to phi failure detectors being populated.BootstrapDiscoveryBuilderBootstrapDiscoveryBuilder. withHeartbeatInterval(java.time.Duration heartbeatInterval)Sets the failure detection heartbeat interval.BootstrapDiscoveryBuilderBootstrapDiscoveryBuilder. withNodes(Node... nodes)Sets the bootstrap nodes.BootstrapDiscoveryBuilderBootstrapDiscoveryBuilder. withNodes(io.atomix.utils.net.Address... nodes)Sets the bootstrap nodes.BootstrapDiscoveryBuilderBootstrapDiscoveryBuilder. withNodes(Collection<Node> locations)Sets the bootstrap nodes.