Class NodesInfoRequest

All Implemented Interfaces:
Writeable, TaskAwareRequest

public class NodesInfoRequest
extends BaseNodesRequest<NodesInfoRequest>
A request to get node (cluster) level information.
  • Constructor Details

    • NodesInfoRequest

      public NodesInfoRequest​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
    • NodesInfoRequest

      public NodesInfoRequest​(java.lang.String... nodesIds)
      Get information from nodes based on the nodes ids specified. If none are passed, information for all nodes will be returned.
  • Method Details

    • clear

      public NodesInfoRequest clear()
      Clears all info flags.
    • all

      public NodesInfoRequest all()
      Sets to return all the data.
    • settings

      public boolean settings()
      Should the node settings be returned.
    • settings

      public NodesInfoRequest settings​(boolean settings)
      Should the node settings be returned.
    • os

      public boolean os()
      Should the node OS be returned.
    • os

      public NodesInfoRequest os​(boolean os)
      Should the node OS be returned.
    • process

      public boolean process()
      Should the node Process be returned.
    • process

      public NodesInfoRequest process​(boolean process)
      Should the node Process be returned.
    • jvm

      public boolean jvm()
      Should the node JVM be returned.
    • jvm

      public NodesInfoRequest jvm​(boolean jvm)
      Should the node JVM be returned.
    • threadPool

      public boolean threadPool()
      Should the node Thread Pool info be returned.
    • threadPool

      public NodesInfoRequest threadPool​(boolean threadPool)
      Should the node Thread Pool info be returned.
    • transport

      public boolean transport()
      Should the node Transport be returned.
    • transport

      public NodesInfoRequest transport​(boolean transport)
      Should the node Transport be returned.
    • http

      public boolean http()
      Should the node HTTP be returned.
    • http

      public NodesInfoRequest http​(boolean http)
      Should the node HTTP be returned.
    • plugins

      public NodesInfoRequest plugins​(boolean plugins)
      Should information about plugins be returned
      Parameters:
      plugins - true if you want info
      Returns:
      The request
    • plugins

      public boolean plugins()
      Returns:
      true if information about plugins is requested
    • ingest

      public NodesInfoRequest ingest​(boolean ingest)
      Should information about ingest be returned
      Parameters:
      ingest - true if you want info
    • ingest

      public boolean ingest()
      Returns:
      true if information about ingest is requested
    • indices

      public NodesInfoRequest indices​(boolean indices)
      Should information about indices (currently just indexing buffers) be returned
      Parameters:
      indices - true if you want info
    • indices

      public boolean indices()
      Returns:
      true if information about indices (currently just indexing buffers)
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class BaseNodesRequest<NodesInfoRequest>
      Throws:
      java.io.IOException