Class AsyncWaitStep

java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.AsyncWaitStep
Direct Known Subclasses:
SegmentCountStep, WaitForNoFollowersStep, WaitForRolloverReadyStep, WaitForSnapshotStep, WaitUntilReplicateForTimePassesStep, WaitUntilTimeSeriesEndTimePassesStep

public abstract class AsyncWaitStep extends Step
A step which will be called periodically, waiting for some condition to become true. Called asynchronously, as the condition may take time to check.

If checking something based on the current cluster state which does not take time to check, use ClusterStateWaitStep.

  • Constructor Details

  • Method Details

    • getClient

      @Nullable protected Client getClient()
    • evaluateCondition

      public abstract void evaluateCondition(Metadata metadata, Index index, AsyncWaitStep.Listener listener, org.elasticsearch.core.TimeValue masterTimeout)