public class NodesStatsRequest extends NodesOperationRequest<NodesStatsRequest>
TransportRequest.Empty
ALL_NODES
Modifier | Constructor and Description |
---|---|
protected |
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 |
network()
Should the node Network be returned.
|
NodesStatsRequest |
network(boolean network)
Should the node Network 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 |
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, validate
listenerThreaded, listenerThreaded
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
protected 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 network()
public NodesStatsRequest network(boolean network)
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 void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class NodesOperationRequest<NodesStatsRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class NodesOperationRequest<NodesStatsRequest>
IOException
Copyright © 2009–2015. All rights reserved.