Package org.elasticsearch.persistent
Class CompletionPersistentTaskAction
- java.lang.Object
-
- org.elasticsearch.action.GenericAction<Request,Response>
-
- org.elasticsearch.action.Action<CompletionPersistentTaskAction.Request,PersistentTaskResponse,CompletionPersistentTaskAction.RequestBuilder>
-
- org.elasticsearch.persistent.CompletionPersistentTaskAction
-
public class CompletionPersistentTaskAction extends Action<CompletionPersistentTaskAction.Request,PersistentTaskResponse,CompletionPersistentTaskAction.RequestBuilder>
Action 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 classCompletionPersistentTaskAction.Requeststatic classCompletionPersistentTaskAction.RequestBuilderstatic classCompletionPersistentTaskAction.TransportAction
-
Field Summary
Fields Modifier and Type Field Description static CompletionPersistentTaskActionINSTANCEstatic java.lang.StringNAME
-
Method Summary
Modifier and Type Method Description CompletionPersistentTaskAction.RequestBuildernewRequestBuilder(ElasticsearchClient client)Creates a new request builder given the client provided as argumentPersistentTaskResponsenewResponse()Creates a new response instance.-
Methods inherited from class org.elasticsearch.action.GenericAction
equals, getResponseReader, 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
-
newRequestBuilder
public CompletionPersistentTaskAction.RequestBuilder newRequestBuilder(ElasticsearchClient client)
Description copied from class:ActionCreates a new request builder given the client provided as argument
-
newResponse
public PersistentTaskResponse newResponse()
Description copied from class:GenericActionCreates a new response instance.- Specified by:
newResponsein classGenericAction<CompletionPersistentTaskAction.Request,PersistentTaskResponse>
-
-