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 class
StartPersistentTaskAction.Request
static class
StartPersistentTaskAction.RequestBuilder
static class
StartPersistentTaskAction.TransportAction
-
Field Summary
Fields Modifier and Type Field Description static StartPersistentTaskAction
INSTANCE
static java.lang.String
NAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartPersistentTaskAction.RequestBuilder
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argumentPersistentTaskResponse
newResponse()
Creates a new response instance.-
Methods inherited from class org.elasticsearch.action.GenericAction
equals, 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:Action
Creates a new request builder given the client provided as argument- Specified by:
newRequestBuilder
in classAction<StartPersistentTaskAction.Request,PersistentTaskResponse,StartPersistentTaskAction.RequestBuilder>
-
newResponse
public PersistentTaskResponse newResponse()
Description copied from class:GenericAction
Creates a new response instance.- Specified by:
newResponse
in classGenericAction<StartPersistentTaskAction.Request,PersistentTaskResponse>
-
-