Package org.elasticsearch.cluster
Class MasterNodeChangePredicate
- java.lang.Object
-
- org.elasticsearch.cluster.MasterNodeChangePredicate
-
public final class MasterNodeChangePredicate extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Predicate<ClusterState>build(ClusterState currentState)builds a predicate that will accept a cluster state only if it was generated after the current has (re-)joined the master
-
-
-
Method Detail
-
build
public static Predicate<ClusterState> build(ClusterState currentState)
builds a predicate that will accept a cluster state only if it was generated after the current has (re-)joined the master
-
-