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 voidonClusterServiceClose()called when the cluster service is closedvoidonNewClusterState(ClusterState state)called when a new state is observedvoidonTimeout(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)
-
-