Package org.elasticsearch.cluster
Interface ClusterStateObserver.Listener
-
- All Known Implementing Classes:
NodeAndClusterIdStateListener
- Enclosing class:
- ClusterStateObserver
public static interface ClusterStateObserver.Listener
-
-
Method Summary
Modifier and Type Method Description void
onClusterServiceClose()
called when the cluster service is closedvoid
onNewClusterState(ClusterState state)
called when a new state is observedvoid
onTimeout(TimeValue timeout)
-
-
-
Method Detail
-
onNewClusterState
void onNewClusterState(ClusterState state)
called when a new state is observed
-
onClusterServiceClose
void onClusterServiceClose()
called when the cluster service is closed
-
onTimeout
void onTimeout(TimeValue timeout)
-
-