Package org.opensearch.persistent
Class StartPersistentTaskAction.TransportAction
java.lang.Object
org.opensearch.action.support.TransportAction<StartPersistentTaskAction.Request,PersistentTaskResponse>
org.opensearch.action.support.HandledTransportAction<StartPersistentTaskAction.Request,PersistentTaskResponse>
org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction<StartPersistentTaskAction.Request,PersistentTaskResponse>
org.opensearch.persistent.StartPersistentTaskAction.TransportAction
- Enclosing class:
StartPersistentTaskAction
public static class StartPersistentTaskAction.TransportAction
extends TransportClusterManagerNodeAction<StartPersistentTaskAction.Request,PersistentTaskResponse>
The transport action.
- Opensearch.internal:
-
Field Summary
Fields inherited from class org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.opensearch.action.support.TransportAction
actionName, taskManager
-
Constructor Summary
ConstructorDescriptionTransportAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, PersistentTasksClusterService persistentTasksClusterService, PersistentTasksExecutorRegistry persistentTasksExecutorRegistry, PersistentTasksService persistentTasksService, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(StartPersistentTaskAction.Request request, ClusterState state) protected final void
clusterManagerOperation
(StartPersistentTaskAction.Request request, ClusterState state, org.opensearch.core.action.ActionListener<PersistentTaskResponse> listener) protected String
executor()
protected PersistentTaskResponse
read
(org.opensearch.core.common.io.stream.StreamInput in) Methods inherited from class org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction
clusterManagerOperation, doExecute, getClusterManagerActionName, getMasterActionName, localExecute, localExecuteSupportedByAction, masterOperation, masterOperation
Methods inherited from class org.opensearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportAction
@Inject public TransportAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, PersistentTasksClusterService persistentTasksClusterService, PersistentTasksExecutorRegistry persistentTasksExecutorRegistry, PersistentTasksService persistentTasksService, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
executor
- Specified by:
executor
in classTransportClusterManagerNodeAction<StartPersistentTaskAction.Request,
PersistentTaskResponse>
-
read
protected PersistentTaskResponse read(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Specified by:
read
in classTransportClusterManagerNodeAction<StartPersistentTaskAction.Request,
PersistentTaskResponse> - Throws:
IOException
-
checkBlock
protected ClusterBlockException checkBlock(StartPersistentTaskAction.Request request, ClusterState state) - Specified by:
checkBlock
in classTransportClusterManagerNodeAction<StartPersistentTaskAction.Request,
PersistentTaskResponse>
-
clusterManagerOperation
protected final void clusterManagerOperation(StartPersistentTaskAction.Request request, ClusterState state, org.opensearch.core.action.ActionListener<PersistentTaskResponse> listener)
-