Streamable
, Writeable
, TaskAwareRequest
public static class RemovePersistentTaskAction.Request extends MasterNodeRequest<RemovePersistentTaskAction.Request>
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor | Description |
---|---|
Request() |
|
Request(java.lang.String taskId) |
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.
|
void |
setTaskId(java.lang.String taskId) |
|
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 void setTaskId(java.lang.String taskId)
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class MasterNodeRequest<RemovePersistentTaskAction.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<RemovePersistentTaskAction.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