Class WaitUntilReplicateForTimePassesStep

java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.AsyncWaitStep
org.elasticsearch.xpack.core.ilm.WaitUntilReplicateForTimePassesStep

public class WaitUntilReplicateForTimePassesStep extends AsyncWaitStep
This Step waits until the `replicate_for` time of a searchable_snapshot action to pass.

It's an AsyncWaitStep rather than a ClusterStateWaitStep because we aren't guaranteed to receive a new cluster state in timely fashion when the waiting finishes -- by extending AsyncWaitStep we are guaranteed to check the condition on each ILM execution.