public class NodesStatsRequest extends BaseNodesRequest<NodesStatsRequest>
TransportRequest.Empty
Constructor and Description |
---|
NodesStatsRequest() |
NodesStatsRequest(java.lang.String... nodesIds)
Get stats from nodes based on the nodes ids specified.
|
Modifier and Type | Method and Description |
---|---|
NodesStatsRequest |
all()
Sets all the request flags.
|
boolean |
breaker() |
NodesStatsRequest |
breaker(boolean breaker)
Should the node's circuit breaker stats be returned.
|
NodesStatsRequest |
clear()
Clears all the request flags.
|
boolean |
discovery() |
NodesStatsRequest |
discovery(boolean discovery)
Should the node's discovery stats be returned.
|
boolean |
fs()
Should the node file system stats be returned.
|
NodesStatsRequest |
fs(boolean fs)
Should the node file system stats be returned.
|
boolean |
http()
Should the node HTTP be returned.
|
NodesStatsRequest |
http(boolean http)
Should the node HTTP be returned.
|
CommonStatsFlags |
indices() |
NodesStatsRequest |
indices(boolean indices)
Should indices stats be returned.
|
NodesStatsRequest |
indices(CommonStatsFlags indices) |
boolean |
ingest() |
NodesStatsRequest |
ingest(boolean ingest)
Should ingest statistics be returned.
|
boolean |
jvm()
Should the node JVM be returned.
|
NodesStatsRequest |
jvm(boolean jvm)
Should the node JVM be returned.
|
boolean |
os()
Should the node OS be returned.
|
NodesStatsRequest |
os(boolean os)
Should the node OS be returned.
|
boolean |
process()
Should the node Process be returned.
|
NodesStatsRequest |
process(boolean process)
Should the node Process be returned.
|
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
boolean |
script() |
NodesStatsRequest |
script(boolean script) |
boolean |
threadPool()
Should the node Thread Pool be returned.
|
NodesStatsRequest |
threadPool(boolean threadPool)
Should the node Thread Pool be returned.
|
boolean |
transport()
Should the node Transport be returned.
|
NodesStatsRequest |
transport(boolean transport)
Should the node Transport be returned.
|
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
concreteNodes, nodesIds, nodesIds, setConcreteNodes, timeout, timeout, timeout, validate
getShouldStoreResult
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
public NodesStatsRequest()
public NodesStatsRequest(java.lang.String... nodesIds)
public NodesStatsRequest all()
public NodesStatsRequest clear()
public CommonStatsFlags indices()
public NodesStatsRequest indices(CommonStatsFlags indices)
public NodesStatsRequest indices(boolean indices)
public boolean os()
public NodesStatsRequest os(boolean os)
public boolean process()
public NodesStatsRequest process(boolean process)
public boolean jvm()
public NodesStatsRequest jvm(boolean jvm)
public boolean threadPool()
public NodesStatsRequest threadPool(boolean threadPool)
public boolean fs()
public NodesStatsRequest fs(boolean fs)
public boolean transport()
public NodesStatsRequest transport(boolean transport)
public boolean http()
public NodesStatsRequest http(boolean http)
public boolean breaker()
public NodesStatsRequest breaker(boolean breaker)
public boolean script()
public NodesStatsRequest script(boolean script)
public boolean discovery()
public NodesStatsRequest discovery(boolean discovery)
public boolean ingest()
public NodesStatsRequest ingest(boolean ingest)
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BaseNodesRequest<NodesStatsRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class BaseNodesRequest<NodesStatsRequest>
java.io.IOException