public class NodesStatsRequest extends BaseNodesRequest<NodesStatsRequest>
TransportRequest.EmptyALL_NODESheaders| Constructor and Description |
|---|
NodesStatsRequest() |
NodesStatsRequest(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 |
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 |
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) |
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) |
nodesIds, nodesIds, timeout, timeout, timeout, validatecreateTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic NodesStatsRequest()
public NodesStatsRequest(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 void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class BaseNodesRequest<NodesStatsRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BaseNodesRequest<NodesStatsRequest>IOExceptionCopyright © 2009–2017. All rights reserved.