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