public abstract static class ClusterStateObserver.EventPredicate extends java.lang.Object implements ClusterStateObserver.ChangePredicate
Constructor and Description |
---|
EventPredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(ClusterState previousState,
ClusterState.ClusterStateStatus previousStatus,
ClusterState newState,
ClusterState.ClusterStateStatus newStatus)
a rough check used when starting to monitor for a new change.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public boolean apply(ClusterState previousState, ClusterState.ClusterStateStatus previousStatus, ClusterState newState, ClusterState.ClusterStateStatus newStatus)
ClusterStateObserver.ChangePredicate
apply
in interface ClusterStateObserver.ChangePredicate