Class ClusterStateObserver

java.lang.Object
org.elasticsearch.cluster.ClusterStateObserver

public class ClusterStateObserver
extends java.lang.Object
A utility class which simplifies interacting with the cluster state in cases where one tries to take action based on the current state but may want to wait for a new state and retry upon failure.