Package org.elasticsearch.cluster
Class MasterNodeChangePredicate
- java.lang.Object
-
- org.elasticsearch.cluster.MasterNodeChangePredicate
-
public final class MasterNodeChangePredicate extends java.lang.Object
-
-
Method Summary
Modifier and Type Method Description static java.util.function.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 java.util.function.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
-
-