Class RemoteClusterStatsResponse

All Implemented Interfaces:
Writeable, RefCounted

public class RemoteClusterStatsResponse extends ActionResponse
Trimmed down cluster stats response for reporting to a remote cluster.
  • Constructor Details

    • RemoteClusterStatsResponse

      public RemoteClusterStatsResponse(String clusterUUID, ClusterHealthStatus status, Set<String> versions, long nodesCount, long shardsCount, long indicesCount, long indicesBytes, long heapBytes, long memBytes)
    • RemoteClusterStatsResponse

      public RemoteClusterStatsResponse(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • getVersions

      public Set<String> getVersions()
    • getNodesCount

      public long getNodesCount()
    • getShardsCount

      public long getShardsCount()
    • getIndicesCount

      public long getIndicesCount()
    • getIndicesBytes

      public long getIndicesBytes()
    • getHeapBytes

      public long getHeapBytes()
    • getMemBytes

      public long getMemBytes()
    • getClusterUUID

      public String getClusterUUID()
    • getStatus

      public ClusterHealthStatus getStatus()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Throws:
      IOException