public final class MasterNodeChangePredicate
extends java.lang.Object
Modifier and Type | Method and 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
|
public static java.util.function.Predicate<ClusterState> build(ClusterState currentState)