Class ClusterStateResponse

    • Constructor Detail

      • ClusterStateResponse

        public ClusterStateResponse()
      • ClusterStateResponse

        public ClusterStateResponse​(ClusterName clusterName,
                                    ClusterState clusterState,
                                    long sizeInBytes,
                                    boolean waitForTimedOut)
    • 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.
      • getTotalCompressedSize

        @Deprecated
        public ByteSizeValue getTotalCompressedSize()
        Deprecated.
        The total compressed size of the full cluster state, not just the parts returned by getState(). The total compressed size is the size of the cluster state as it would be transmitted over the network during intra-node communication.
      • 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.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object