public abstract static class ClusterStateObserver.EventPredicate extends Object implements ClusterStateObserver.ChangePredicate
Constructor and Description |
---|
ClusterStateObserver.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
Copyright © 2009–2017. All rights reserved.