public class NodesInfoRequest extends BaseNodesRequest<NodesInfoRequest>
TransportRequest.Empty
ALL_NODES
headers
Constructor and Description |
---|
NodesInfoRequest() |
NodesInfoRequest(String... nodesIds)
Get information from nodes based on the nodes ids specified.
|
Modifier and Type | Method and 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 |
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 returned
|
boolean |
process()
Should the node Process be returned.
|
NodesInfoRequest |
process(boolean process)
Should the node Process be returned.
|
void |
readFrom(StreamInput in) |
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) |
nodesIds, nodesIds, timeout, timeout, timeout, validate
createTask, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public NodesInfoRequest()
public NodesInfoRequest(String... nodesIds)
public NodesInfoRequest clear()
public NodesInfoRequest all()
public boolean settings()
public NodesInfoRequest settings(boolean settings)
public boolean os()
public NodesInfoRequest os(boolean os)
public boolean process()
public NodesInfoRequest process(boolean process)
public boolean jvm()
public NodesInfoRequest jvm(boolean jvm)
public boolean threadPool()
public NodesInfoRequest threadPool(boolean threadPool)
public boolean transport()
public NodesInfoRequest transport(boolean transport)
public boolean http()
public NodesInfoRequest http(boolean http)
public NodesInfoRequest plugins(boolean plugins)
plugins
- true if you want infopublic boolean plugins()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BaseNodesRequest<NodesInfoRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BaseNodesRequest<NodesInfoRequest>
IOException
Copyright © 2009–2016. All rights reserved.