Module org.elasticsearch.server
Class ClusterBootstrapService
java.lang.Object
org.elasticsearch.cluster.coordination.ClusterBootstrapService
- All Implemented Interfaces:
Coordinator.PeerFinderListener
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionClusterBootstrapService
(Settings settings, TransportService transportService, Supplier<Iterable<DiscoveryNode>> discoveredNodesSupplier, BooleanSupplier isBootstrappedSupplier, Consumer<CoordinationMetadata.VotingConfiguration> votingConfigurationConsumer) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
discoveryIsConfigured
(Settings settings) static boolean
isBootstrapPlaceholder
(String nodeId) void
-
Field Details
-
INITIAL_MASTER_NODES_SETTING
-
UNCONFIGURED_BOOTSTRAP_TIMEOUT_SETTING
-
-
Constructor Details
-
ClusterBootstrapService
public ClusterBootstrapService(Settings settings, TransportService transportService, Supplier<Iterable<DiscoveryNode>> discoveredNodesSupplier, BooleanSupplier isBootstrappedSupplier, Consumer<CoordinationMetadata.VotingConfiguration> votingConfigurationConsumer)
-
-
Method Details
-
discoveryIsConfigured
-
onFoundPeersUpdated
public void onFoundPeersUpdated()- Specified by:
onFoundPeersUpdated
in interfaceCoordinator.PeerFinderListener
-
isBootstrapPlaceholder
-