Streamable, Writeable, TaskAwareRequestActionRequest, BaseNodeRequest, BroadcastShardRequest, BytesTransportRequest, InternalScrollSearchRequest, LocalAllocateDangledIndices.AllocateDangledRequest, MasterFaultDetection.MasterPingRequest, MembershipAction.JoinRequest, MembershipAction.LeaveRequest, NodeMappingRefreshAction.NodeMappingRefreshRequest, NodesFaultDetection.PingRequest, PublishClusterStateAction.CommitClusterStateRequest, QuerySearchRequest, RecoveryCleanFilesRequest, RecoveryFileChunkRequest, RecoveryFilesInfoRequest, RecoveryFinalizeRecoveryRequest, RecoveryTranslogOperationsRequest, RecoveryWaitForClusterStateRequest, ShardFetchRequest, ShardSearchTransportRequest, ShardStateAction.FailedShardEntry, ShardStateAction.StartedShardEntry, StartRecoveryRequest, SyncedFlushService.InFlightOpsRequest, SyncedFlushService.PreShardSyncedFlushRequest, SyncedFlushService.ShardSyncedFlushRequest, TransportBroadcastByNodeAction.NodeRequest, TransportReplicationAction.ConcreteShardRequest, TransportRequest.Empty, VerifyNodeRepositoryAction.VerifyNodeRepositoryRequest, ZenDiscovery.RejoinClusterRequestpublic abstract class TransportRequest extends TransportMessage implements TaskAwareRequest
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TransportRequest.Empty |
Writeable.Reader<V>, Writeable.Writer<V>| Constructor | Description |
|---|---|
TransportRequest() |
|
TransportRequest(StreamInput in) |
| Modifier and Type | Method | Description |
|---|---|---|
TaskId |
getParentTask() |
Get a reference to the task that created this request.
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
void |
setParentTask(TaskId taskId) |
Set a reference to task that created this request.
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskremoteAddress, remoteAddresspublic TransportRequest()
public TransportRequest(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void setParentTask(TaskId taskId)
setParentTask in interface TaskAwareRequestpublic TaskId getParentTask()
TaskId.EMPTY_TASK_ID, meaning "there is no parent".getParentTask in interface TaskAwareRequestpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class TransportMessagejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class TransportMessagejava.io.IOException