Interface ProjectStateObserver.Listener

Enclosing class:
ProjectStateObserver

public static interface ProjectStateObserver.Listener
  • Method Details

    • onProjectStateChange

      void onProjectStateChange(ProjectState projectState)
      called when the project state has (or might have) changed.
    • onProjectMissing

      void onProjectMissing(ProjectId projectId, ClusterState clusterState)
      called when the cluster metadata does not contain the project
    • onClusterServiceClose

      void onClusterServiceClose()
      called when the cluster service is closed
    • onTimeout

      void onTimeout(TimeValue timeout)
      Called when the ClusterStateObserver times out while waiting for a new matching cluster state if a timeout is used when creating the observer. Upon timeout, onTimeout is called on the GENERIC threadpool.