Streamable, Writeable, TaskAwareRequestAbstractBulkByScrollRequest, BaseNodesRequest, BaseTasksRequest, BroadcastRequest, BulkRequest, ClearScrollRequest, FieldCapabilitiesRequest, GetFieldMappingsRequest, GetTaskRequest, InstanceShardOperationRequest, LivenessRequest, MainRequest, MasterNodeRequest, MultiGetRequest, MultiSearchRequest, MultiTermVectorsRequest, PrimaryReplicaSyncer.ResyncRequest, RemoteInfoRequest, ReplicationRequest, SearchRequest, SearchScrollRequest, SimulatePipelineRequest, SingleShardRequestpublic abstract class ActionRequest extends TransportRequest
TransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>| Constructor | Description |
|---|---|
ActionRequest() |
|
ActionRequest(StreamInput in) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getShouldStoreResult() |
Should this task store its result after it has finished?
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
abstract ActionRequestValidationException |
validate() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewWriteableReadercreateTask, getDescription, setParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic ActionRequest()
public ActionRequest(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic abstract ActionRequestValidationException validate()
public boolean getShouldStoreResult()
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class TransportRequestjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class TransportRequestjava.io.IOException