Class ClusterStateResponse

  • All Implemented Interfaces:
    Writeable

    public class ClusterStateResponse
    extends ActionResponse
    The response for getting the cluster state.
    • Method Detail

      • getState

        public ClusterState getState()
        The requested cluster state. Only the parts of the cluster state that were requested are included in the returned ClusterState instance.
      • getClusterName

        public ClusterName getClusterName()
        The name of the cluster.
      • isWaitForTimedOut

        public boolean isWaitForTimedOut()
        Returns whether the request timed out waiting for a cluster state with a metadata version equal or higher than the specified metadata.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object