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