Package org.elasticsearch.persistent
Class PersistentTaskResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.action.ActionResponse
-
- org.elasticsearch.persistent.PersistentTaskResponse
-
- All Implemented Interfaces:
Writeable
public class PersistentTaskResponse extends ActionResponse
Response upon a successful start or an persistent task
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Constructor Description PersistentTaskResponse(StreamInput in)
PersistentTaskResponse(PersistentTasksCustomMetaData.PersistentTask<?> task)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
PersistentTasksCustomMetaData.PersistentTask<?>
getTask()
int
hashCode()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
-
-
-
Constructor Detail
-
PersistentTaskResponse
public PersistentTaskResponse(StreamInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
PersistentTaskResponse
public PersistentTaskResponse(PersistentTasksCustomMetaData.PersistentTask<?> task)
-
-
Method Detail
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:Writeable
Write this into the StreamOutput.- Throws:
java.io.IOException
-
getTask
public PersistentTasksCustomMetaData.PersistentTask<?> getTask()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-