Streamable
, Writeable
public class PersistentTaskResponse extends ActionResponse
TransportResponse.Empty
Writeable.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, wait
remoteAddress, remoteAddress
public PersistentTaskResponse()
public PersistentTaskResponse(PersistentTasksCustomMetaData.PersistentTask<?> task)
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class ActionResponse
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class ActionResponse
java.io.IOException
public PersistentTasksCustomMetaData.PersistentTask<?> getTask()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object