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,org.elasticsearch.common.util.concurrent.RefCounted
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.action.ActionResponse
ActionResponse.EmptyNested 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 booleanequals(java.lang.Object o)PersistentTasksCustomMetadata.PersistentTask<?>getTask()inthashCode()voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PersistentTaskResponse
- Throws:
java.io.IOException
-
PersistentTaskResponse
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Throws:
java.io.IOException
-
getTask
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-