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.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors Modifier Constructor Description protectedBaseNodesRequest(java.lang.String... nodesIds)protectedBaseNodesRequest(DiscoveryNode... concreteNodes)protectedBaseNodesRequest(StreamInput in) -
Method Summary
Modifier and Type Method Description DiscoveryNode[]concreteNodes()java.lang.String[]nodesIds()RequestnodesIds(java.lang.String... nodesIds)voidsetConcreteNodes(DiscoveryNode[] concreteNodes)TimeValuetimeout()Requesttimeout(java.lang.String timeout)Requesttimeout(TimeValue timeout)ActionRequestValidationExceptionvalidate()voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTaskMethods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
validatein classActionRequest
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classActionRequest- Throws:
java.io.IOException
-