java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.ClusterStateWaitStep
org.elasticsearch.xpack.core.ilm.CheckShrinkReadyStep
This step is used prior to running a shrink step in order to ensure that the index being shrunk
has a copy of each shard allocated on one particular node (the node used by the require
parameter) and that the shards are not relocating.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.ClusterStateWaitStep
ClusterStateWaitStep.ResultNested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanWhether the step can be completed at all.isConditionMet(Index index, ProjectState currentState) booleanIndicates if the step can be automatically retried when it encounters an execution error.Methods inherited from class org.elasticsearch.xpack.core.ilm.Step
getCurrentStepKey, getKey, getNextStepKey, toString
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
isRetryable
public boolean isRetryable()Description copied from class:StepIndicates if the step can be automatically retried when it encounters an execution error.- Specified by:
isRetryablein classStep
-
isCompletable
public boolean isCompletable()Description copied from class:ClusterStateWaitStepWhether 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.- Overrides:
isCompletablein classClusterStateWaitStep
-
isConditionMet
- Specified by:
isConditionMetin classClusterStateWaitStep
-
hashCode
public int hashCode() -
equals
-