java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.ClusterStateWaitStep
- Direct Known Subclasses:
AllocationRoutedStep,CheckNotDataStreamWriteIndexStep,CheckShrinkReadyStep,CheckTargetShardsCountStep,ClusterStateWaitUntilThresholdStep,DataTierMigrationRoutedStep,NoopStep,ShrunkenIndexCheckStep,ShrunkShardsAllocatedStep,WaitForActiveShardsStep,WaitForDataTierStep,WaitForIndexColorStep
Checks whether a condition has been met based on the cluster state.
If checking a condition not based on the cluster state, or which may take time to evaluate, use AsyncWaitStep.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the step can be completed at all.abstract ClusterStateWaitStep.ResultisConditionMet(Index index, ProjectState currentState) Methods inherited from class org.elasticsearch.xpack.core.ilm.Step
equals, getCurrentStepKey, getKey, getNextStepKey, hashCode, isRetryable, toString
-
Constructor Details
-
ClusterStateWaitStep
-
-
Method Details
-
isConditionMet
-
isCompletable
public boolean isCompletable()Whether the step can be completed at all. This only affects theClusterStateWaitUntilThresholdStepwhich waits for a threshold to be met before retrying. Setting this to false means that ILM should retry the sequence immediately without waiting for the threshold to be met.
-