org.elasticsearch.action.admin.cluster.node.info
Class NodesInfoRequest

java.lang.Object
  extended by org.elasticsearch.action.support.nodes.NodesOperationRequest
      extended by org.elasticsearch.action.admin.cluster.node.info.NodesInfoRequest
All Implemented Interfaces:
ActionRequest, Streamable

public class NodesInfoRequest
extends NodesOperationRequest

A request to get node (cluster) level information.


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.nodes.NodesOperationRequest
ALL_NODES
 
Constructor Summary
NodesInfoRequest()
           
NodesInfoRequest(String... nodesIds)
          Get information from nodes based on the nodes ids specified.
 
Method Summary
 NodesInfoRequest all()
          Sets to return all the data.
 NodesInfoRequest clear()
          Clears all info flags.
 boolean http()
          Should the node HTTP be returned.
 NodesInfoRequest http(boolean http)
          Should the node HTTP be returned.
 boolean jvm()
          Should the node JVM be returned.
 NodesInfoRequest jvm(boolean jvm)
          Should the node JVM be returned.
 boolean network()
          Should the node Network be returned.
 NodesInfoRequest network(boolean network)
          Should the node Network be returned.
 boolean os()
          Should the node OS be returned.
 NodesInfoRequest os(boolean os)
          Should the node OS be returned.
 boolean process()
          Should the node Process be returned.
 NodesInfoRequest process(boolean process)
          Should the node Process be returned.
 void readFrom(StreamInput in)
           
 boolean settings()
          Should the node settings be returned.
 NodesInfoRequest settings(boolean settings)
          Should the node settings be returned.
 boolean threadPool()
          Should the node Thread Pool info be returned.
 NodesInfoRequest threadPool(boolean threadPool)
          Should the node Thread Pool info be returned.
 boolean transport()
          Should the node Transport be returned.
 NodesInfoRequest transport(boolean transport)
          Should the node Transport be returned.
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.nodes.NodesOperationRequest
listenerThreaded, listenerThreaded, nodesIds, nodesIds, timeout, timeout, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodesInfoRequest

public NodesInfoRequest()

NodesInfoRequest

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

Method Detail

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.


network

public boolean network()
Should the node Network be returned.


network

public NodesInfoRequest network(boolean network)
Should the node Network 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.


readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Overrides:
readFrom in class NodesOperationRequest
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Overrides:
writeTo in class NodesOperationRequest
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.