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 masterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
build
builds a predicate that will accept a cluster state only if it was generated after the current has (re-)joined the master
-