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:
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(java.lang.String... nodesIds)
Get information from nodes based on the nodes ids specified.NodesInfoRequest(StreamInput in)
-
Method Summary
Modifier and Type Method Description 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
indices()
NodesInfoRequest
indices(boolean indices)
Should information about indices (currently just indexing buffers) be returnedboolean
ingest()
NodesInfoRequest
ingest(boolean ingest)
Should information about ingest be returnedboolean
jvm()
Should the node JVM be returned.NodesInfoRequest
jvm(boolean jvm)
Should the node JVM be returned.boolean
os()
Should the node OS be returned.NodesInfoRequest
os(boolean os)
Should the node OS be returned.boolean
plugins()
NodesInfoRequest
plugins(boolean plugins)
Should information about plugins be returnedboolean
process()
Should the node Process be returned.NodesInfoRequest
process(boolean process)
Should the node Process be returned.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)
Write this into the 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.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
-
Constructor Details
-
NodesInfoRequest
- 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
Clears all info flags. -
all
Sets to return all the data. -
settings
public boolean settings()Should the node settings be returned. -
settings
Should the node settings be returned. -
os
public boolean os()Should the node OS be returned. -
os
Should the node OS be returned. -
process
public boolean process()Should the node Process be returned. -
process
Should the node Process be returned. -
jvm
public boolean jvm()Should the node JVM be returned. -
jvm
Should the node JVM be returned. -
threadPool
public boolean threadPool()Should the node Thread Pool info be returned. -
threadPool
Should the node Thread Pool info be returned. -
transport
public boolean transport()Should the node Transport be returned. -
transport
Should the node Transport be returned. -
http
public boolean http()Should the node HTTP be returned. -
http
Should the node HTTP be returned. -
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
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
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
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classBaseNodesRequest<NodesInfoRequest>
- Throws:
java.io.IOException
-