Module org.elasticsearch.xcore
Package org.elasticsearch.xpack.core.ilm
Class WaitForNoFollowersStep
java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.AsyncWaitStep
org.elasticsearch.xpack.core.ilm.WaitForNoFollowersStep
A step that waits until the managed index is no longer a leader index.
This is necessary as there are some actions which are not safe to perform on
a leader index, such as those which delete the index, including Shrink and
Delete.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.AsyncWaitStep
AsyncWaitStep.ListenerNested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidevaluateCondition(ProjectState state, Index index, AsyncWaitStep.Listener listener, org.elasticsearch.core.TimeValue masterTimeout) booleanIndicates if the step can be automatically retried when it encounters an execution error.Methods inherited from class org.elasticsearch.xpack.core.ilm.AsyncWaitStep
getClientMethods inherited from class org.elasticsearch.xpack.core.ilm.Step
equals, getCurrentStepKey, getKey, getNextStepKey, hashCode, 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
-
evaluateCondition
public void evaluateCondition(ProjectState state, Index index, AsyncWaitStep.Listener listener, org.elasticsearch.core.TimeValue masterTimeout) - Specified by:
evaluateConditionin classAsyncWaitStep
-