Skip to content

Commit

Permalink
fix ClusterStateListener javadoc (#83246)
Browse files Browse the repository at this point in the history
Listener is actually called *after* cluster state becomes visible.
  • Loading branch information
idegtiarenko authored Jan 28, 2022
1 parent 52d4c89 commit 12a1a72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import org.elasticsearch.cluster.service.ClusterService;

/**
* A listener to be notified when a cluster state changes. The {@link #clusterChanged} method is called before the cluster state becomes
* A listener to be notified when a cluster state changes. The {@link #clusterChanged} method is called after the cluster state becomes
* visible via {@link ClusterService#state()}. See also {@link ClusterStateApplier}.
*/
public interface ClusterStateListener {
Expand Down

0 comments on commit 12a1a72

Please sign in to comment.