Package org.elasticsearch.cluster
Interface ClusterStateObserver.Listener
- All Known Implementing Classes:
NodeAndClusterIdStateListener
- Enclosing class:
- ClusterStateObserver
public static interface ClusterStateObserver.Listener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
called when the cluster service is closedvoid
onNewClusterState(ClusterState state)
called when a new state is observedvoid
onTimeout(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)
-