Class NodesInfoRequest
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportRequest
-
- org.elasticsearch.action.ActionRequest
-
- org.elasticsearch.action.support.nodes.BaseNodesRequest<NodesInfoRequest>
-
- org.elasticsearch.action.admin.cluster.node.info.NodesInfoRequest
-
- All Implemented Interfaces:
Streamable,Writeable,TaskAwareRequest
public class NodesInfoRequest extends BaseNodesRequest<NodesInfoRequest>
A request to get node (cluster) level information.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Constructor Description NodesInfoRequest()NodesInfoRequest(java.lang.String... nodesIds)Get information from nodes based on the nodes ids specified.
-
Method Summary
Modifier and Type Method Description NodesInfoRequestall()Sets to return all the data.NodesInfoRequestclear()Clears all info flags.booleanhttp()Should the node HTTP be returned.NodesInfoRequesthttp(boolean http)Should the node HTTP be returned.booleanindices()NodesInfoRequestindices(boolean indices)Should information about indices (currently just indexing buffers) be returnedbooleaningest()NodesInfoRequestingest(boolean ingest)Should information about ingest be returnedbooleanjvm()Should the node JVM be returned.NodesInfoRequestjvm(boolean jvm)Should the node JVM be returned.booleanos()Should the node OS be returned.NodesInfoRequestos(boolean os)Should the node OS be returned.booleanplugins()NodesInfoRequestplugins(boolean plugins)Should information about plugins be returnedbooleanprocess()Should the node Process be returned.NodesInfoRequestprocess(boolean process)Should the node Process be returned.voidreadFrom(StreamInput in)Set this object's fields from a StreamInput.booleansettings()Should the node settings be returned.NodesInfoRequestsettings(boolean settings)Should the node settings be returned.booleanthreadPool()Should the node Thread Pool info be returned.NodesInfoRequestthreadPool(boolean threadPool)Should the node Thread Pool info be returned.booleantransport()Should the node Transport be returned.NodesInfoRequesttransport(boolean transport)Should the node Transport be returned.voidwriteTo(StreamOutput out)Write this object's fields to a StreamOutput.-
Methods inherited from class org.elasticsearch.action.support.nodes.BaseNodesRequest
concreteNodes, nodesIds, nodesIds, setConcreteNodes, timeout, timeout, timeout, validate
-
Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult
-
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
-
-
-
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.
-
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)
-
readFrom
public void readFrom(StreamInput in) throws java.io.IOException
Description copied from interface:StreamableSet this object's fields from a StreamInput.- Specified by:
readFromin interfaceStreamable- Overrides:
readFromin classBaseNodesRequest<NodesInfoRequest>- Throws:
java.io.IOException
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:StreamableWrite this object's fields to a StreamOutput.- Specified by:
writeToin interfaceStreamable- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classBaseNodesRequest<NodesInfoRequest>- Throws:
java.io.IOException
-
-