Module org.elasticsearch.server
Class NodesUsageRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.support.nodes.BaseNodesRequest<NodesUsageRequest>
org.elasticsearch.action.admin.cluster.node.usage.NodesUsageRequest
- All Implemented Interfaces:
- Writeable,- RefCounted,- TaskAwareRequest
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequestTransportRequest.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Constructor SummaryConstructorsConstructorDescriptionNodesUsageRequest(String... nodesIds) Get usage from nodes based on the nodes ids specified.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanShould the node rest actions usage statistics be returned.aggregations(boolean aggregations) Should the node rest actions usage statistics be returned.all()Sets all the request flags.clear()Clears all the request flags.booleanShould the node rest actions usage statistics be returned.restActions(boolean restActions) Should the node rest actions usage statistics be returned.voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.nodes.BaseNodesRequestconcreteNodes, nodesIds, nodesIds, setConcreteNodes, timeout, timeout, timeout, validateMethods inherited from class org.elasticsearch.action.ActionRequestgetShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequestgetParentTask, setParentTask, toStringMethods inherited from class org.elasticsearch.transport.TransportMessagedecRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequestcreateTask, getDescription, setParentTask
- 
Constructor Details- 
NodesUsageRequest- Throws:
- IOException
 
- 
NodesUsageRequestGet usage from nodes based on the nodes ids specified. If none are passed, usage for all nodes will be returned.
 
- 
- 
Method Details- 
allSets all the request flags.
- 
clearClears all the request flags.
- 
restActionspublic boolean restActions()Should the node rest actions usage statistics be returned.
- 
restActionsShould the node rest actions usage statistics be returned.
- 
aggregationspublic boolean aggregations()Should the node rest actions usage statistics be returned.
- 
aggregationsShould the node rest actions usage statistics be returned.
- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Overrides:
- writeToin class- BaseNodesRequest<NodesUsageRequest>
- Throws:
- IOException
 
 
-