Class ClusterBootstrapService
java.lang.Object
org.elasticsearch.cluster.coordination.ClusterBootstrapService
public class ClusterBootstrapService
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static Setting<java.util.List<java.lang.String>>
INITIAL_MASTER_NODES_SETTING
static Setting<org.elasticsearch.common.unit.TimeValue>
UNCONFIGURED_BOOTSTRAP_TIMEOUT_SETTING
-
Constructor Summary
Constructors Constructor Description ClusterBootstrapService(Settings settings, TransportService transportService, java.util.function.Supplier<java.lang.Iterable<DiscoveryNode>> discoveredNodesSupplier, java.util.function.BooleanSupplier isBootstrappedSupplier, java.util.function.Consumer<CoordinationMetadata.VotingConfiguration> votingConfigurationConsumer)
-
Method Summary
Modifier and Type Method Description static boolean
discoveryIsConfigured(Settings settings)
static boolean
isBootstrapPlaceholder(java.lang.String nodeId)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INITIAL_MASTER_NODES_SETTING
-
UNCONFIGURED_BOOTSTRAP_TIMEOUT_SETTING
public static final Setting<org.elasticsearch.common.unit.TimeValue> UNCONFIGURED_BOOTSTRAP_TIMEOUT_SETTING
-
-
Constructor Details
-
ClusterBootstrapService
public ClusterBootstrapService(Settings settings, TransportService transportService, java.util.function.Supplier<java.lang.Iterable<DiscoveryNode>> discoveredNodesSupplier, java.util.function.BooleanSupplier isBootstrappedSupplier, java.util.function.Consumer<CoordinationMetadata.VotingConfiguration> votingConfigurationConsumer)
-
-
Method Details
-
discoveryIsConfigured
-
isBootstrapPlaceholder
public static boolean isBootstrapPlaceholder(java.lang.String nodeId)
-