Package org.elasticsearch.persistent
Class StartPersistentTaskAction
- java.lang.Object
-
- org.elasticsearch.action.GenericAction<Request,Response>
-
- org.elasticsearch.action.Action<StartPersistentTaskAction.Request,PersistentTaskResponse,StartPersistentTaskAction.RequestBuilder>
-
- org.elasticsearch.persistent.StartPersistentTaskAction
-
public class StartPersistentTaskAction extends Action<StartPersistentTaskAction.Request,PersistentTaskResponse,StartPersistentTaskAction.RequestBuilder>
This action can be used to add the record for the persistent action to the cluster state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStartPersistentTaskAction.Requeststatic classStartPersistentTaskAction.RequestBuilderstatic classStartPersistentTaskAction.TransportAction
-
Field Summary
Fields Modifier and Type Field Description static StartPersistentTaskActionINSTANCEstatic java.lang.StringNAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartPersistentTaskAction.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 StartPersistentTaskAction INSTANCE
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
newRequestBuilder
public StartPersistentTaskAction.RequestBuilder newRequestBuilder(ElasticsearchClient client)
Description copied from class:ActionCreates a new request builder given the client provided as argument- Specified by:
newRequestBuilderin classAction<StartPersistentTaskAction.Request,PersistentTaskResponse,StartPersistentTaskAction.RequestBuilder>
-
newResponse
public PersistentTaskResponse newResponse()
Description copied from class:GenericActionCreates a new response instance.- Specified by:
newResponsein classGenericAction<StartPersistentTaskAction.Request,PersistentTaskResponse>
-
-