java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.AsyncWaitStep
org.elasticsearch.xpack.core.ilm.WaitForSnapshotStep
A step that waits for snapshot to be taken by SLM that includes the index in question to ensure we have backup
before we delete the index. It will signal error if it can't get data needed to do the check (action time from ILM
and SLM metadata) and will only return success if execution of SLM policy took place after index entered the wait
for snapshot action and the latest successful snapshot includes the index.
-
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidevaluateCondition(ProjectState state, Index index, AsyncWaitStep.Listener listener, org.elasticsearch.core.TimeValue masterTimeout) inthashCode()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
getCurrentStepKey, getKey, getNextStepKey, toString
-
Method Details
-
evaluateCondition
public void evaluateCondition(ProjectState state, Index index, AsyncWaitStep.Listener listener, org.elasticsearch.core.TimeValue masterTimeout) - Specified by:
evaluateConditionin classAsyncWaitStep
-
getPolicy
-
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
-
equals
-
hashCode
public int hashCode()
-