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 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.void
readFrom(StreamInput in)
Set this object's fields from a StreamInput.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 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:Streamable
Set this object's fields from a StreamInput.- Specified by:
readFrom
in interfaceStreamable
- Overrides:
readFrom
in classBaseNodesRequest<NodesInfoRequest>
- Throws:
java.io.IOException
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:Streamable
Write this object's fields to a StreamOutput.- Specified by:
writeTo
in interfaceStreamable
- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classBaseNodesRequest<NodesInfoRequest>
- Throws:
java.io.IOException
-
-