Streamable, Writeablepublic class PersistentTaskResponse extends ActionResponse
TransportResponse.EmptyWriteable.Reader<V>, Writeable.Writer<V>| Constructor | Description |
|---|---|
PersistentTaskResponse() |
|
PersistentTaskResponse(PersistentTasksCustomMetaData.PersistentTask<?> task) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
PersistentTasksCustomMetaData.PersistentTask<?> |
getTask() |
|
int |
hashCode() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitremoteAddress, remoteAddresspublic PersistentTaskResponse()
public PersistentTaskResponse(PersistentTasksCustomMetaData.PersistentTask<?> task)
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ActionResponsejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class ActionResponsejava.io.IOExceptionpublic PersistentTasksCustomMetaData.PersistentTask<?> getTask()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object