Package org.elasticsearch.persistent
Class CompletionPersistentTaskAction
- java.lang.Object
-
- org.elasticsearch.action.ActionType<Response>
-
- org.elasticsearch.action.StreamableResponseActionType<PersistentTaskResponse>
-
- org.elasticsearch.persistent.CompletionPersistentTaskAction
-
public class CompletionPersistentTaskAction extends StreamableResponseActionType<PersistentTaskResponse>
ActionType that is used by executor node to indicate that the persistent action finished or failed on the node and needs to be removed from the cluster state in case of successful completion or restarted on some other node in case of failure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompletionPersistentTaskAction.Request
static class
CompletionPersistentTaskAction.RequestBuilder
static class
CompletionPersistentTaskAction.TransportAction
-
Field Summary
Fields Modifier and Type Field Description static CompletionPersistentTaskAction
INSTANCE
static java.lang.String
NAME
-
Method Summary
Modifier and Type Method Description PersistentTaskResponse
newResponse()
Creates a new response instance.-
Methods inherited from class org.elasticsearch.action.StreamableResponseActionType
getResponseReader
-
Methods inherited from class org.elasticsearch.action.ActionType
equals, hashCode, name, transportOptions
-
-
-
-
Field Detail
-
INSTANCE
public static final CompletionPersistentTaskAction INSTANCE
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
newResponse
public PersistentTaskResponse newResponse()
Description copied from class:StreamableResponseActionType
Creates a new response instance.- Specified by:
newResponse
in classStreamableResponseActionType<PersistentTaskResponse>
-
-