Class NodesStatsResponse

All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment, org.elasticsearch.core.RefCounted

public class NodesStatsResponse extends BaseNodesResponse<NodeStats> implements org.elasticsearch.common.xcontent.ToXContentFragment
  • Constructor Details

  • Method Details

    • readNodesFrom

      protected <NodeStats> readNodesFrom(StreamInput in) throws
      Description copied from class: BaseNodesResponse
      Read the BaseNodesResponse.nodes from the stream.
      Specified by:
      readNodesFrom in class BaseNodesResponse<NodeStats>
      Returns:
      Never null.
      Throws:
    • writeNodesTo

      protected void writeNodesTo(StreamOutput out, <NodeStats> nodes) throws
      Description copied from class: BaseNodesResponse
      Write the BaseNodesResponse.nodes to the stream.
      Specified by:
      writeNodesTo in class BaseNodesResponse<NodeStats>
      Throws:
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
    • toString

      public  toString()
      Overrides:
       in class