public static interface ClusterStateObserver.ChangePredicate
Modifier and Type | Method and Description |
---|---|
boolean |
apply(ClusterChangedEvent changedEvent)
called to see whether a cluster change should be accepted
|
boolean |
apply(ClusterState previousState,
ClusterState.ClusterStateStatus previousStatus,
ClusterState newState,
ClusterState.ClusterStateStatus newStatus)
a rough check used when starting to monitor for a new change.
|
boolean apply(ClusterState previousState, ClusterState.ClusterStateStatus previousStatus, ClusterState newState, ClusterState.ClusterStateStatus newStatus)
boolean apply(ClusterChangedEvent changedEvent)
Copyright © 2009–2016. All rights reserved.