Streamable
, Writeable
, TaskAwareRequest
public static class CompletionPersistentTaskAction.Request extends MasterNodeRequest<CompletionPersistentTaskAction.Request>
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor | Description |
---|---|
Request() |
|
Request(java.lang.String taskId,
long allocationId,
java.lang.Exception exception) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
ActionRequestValidationException |
validate() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getShouldStoreResult
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
public Request()
public Request(java.lang.String taskId, long allocationId, java.lang.Exception exception)
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class MasterNodeRequest<CompletionPersistentTaskAction.Request>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class MasterNodeRequest<CompletionPersistentTaskAction.Request>
java.io.IOException
public ActionRequestValidationException validate()
validate
in class ActionRequest
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object