Class BaseNodesRequest<Request extends BaseNodesRequest<Request>>
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.support.nodes.BaseNodesRequest<Request>
- All Implemented Interfaces:
Writeable
,TaskAwareRequest
- Direct Known Subclasses:
ClusterStatsRequest
,NodesHotThreadsRequest
,NodesInfoRequest
,NodesReloadSecureSettingsRequest
,NodesStatsRequest
,NodesUsageRequest
,TransportNodesListGatewayMetaState.Request
,TransportNodesListGatewayStartedShards.Request
,TransportNodesListShardStoreMetaData.Request
,TransportNodesSnapshotsStatus.Request
public abstract class BaseNodesRequest<Request extends BaseNodesRequest<Request>> extends ActionRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseNodesRequest(java.lang.String... nodesIds)
protected
BaseNodesRequest(DiscoveryNode... concreteNodes)
protected
BaseNodesRequest(StreamInput in)
-
Method Summary
Modifier and Type Method Description DiscoveryNode[]
concreteNodes()
java.lang.String[]
nodesIds()
Request
nodesIds(java.lang.String... nodesIds)
void
setConcreteNodes(DiscoveryNode[] concreteNodes)
TimeValue
timeout()
Request
timeout(java.lang.String timeout)
Request
timeout(TimeValue timeout)
ActionRequestValidationException
validate()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
BaseNodesRequest
- Throws:
java.io.IOException
-
BaseNodesRequest
protected BaseNodesRequest(java.lang.String... nodesIds) -
BaseNodesRequest
-
-
Method Details
-
nodesIds
public final java.lang.String[] nodesIds() -
nodesIds
-
timeout
-
timeout
-
timeout
-
concreteNodes
-
setConcreteNodes
-
validate
- Specified by:
validate
in classActionRequest
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classActionRequest
- Throws:
java.io.IOException
-