Module org.elasticsearch.server
Class ClusterFormationFailureHelper
java.lang.Object
org.elasticsearch.cluster.coordination.ClusterFormationFailureHelper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
If this node believes that cluster formation has failed, this record provides information that can be used to determine why that is. -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionClusterFormationFailureHelper
(Settings settings, Supplier<ClusterFormationFailureHelper.ClusterFormationState> clusterFormationStateSupplier, ThreadPool threadPool, Runnable logLastFailedJoinAttempt) -
Method Summary
-
Field Details
-
DISCOVERY_CLUSTER_FORMATION_WARNING_TIMEOUT_SETTING
-
-
Constructor Details
-
ClusterFormationFailureHelper
public ClusterFormationFailureHelper(Settings settings, Supplier<ClusterFormationFailureHelper.ClusterFormationState> clusterFormationStateSupplier, ThreadPool threadPool, Runnable logLastFailedJoinAttempt)
-
-
Method Details
-
isRunning
public boolean isRunning() -
start
public void start() -
stop
public void stop()
-