Class TransportPendingClusterTasksAction
java.lang.Object
org.opensearch.action.support.TransportAction<Request,Response>
org.opensearch.action.support.HandledTransportAction<Request,Response>
org.opensearch.action.support.master.TransportMasterNodeAction<Request,Response>
org.opensearch.action.support.master.TransportMasterNodeReadAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
org.opensearch.action.admin.cluster.tasks.TransportPendingClusterTasksAction
public class TransportPendingClusterTasksAction extends TransportMasterNodeReadAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
-
Field Summary
Fields inherited from class org.opensearch.action.support.master.TransportMasterNodeAction
indexNameExpressionResolver, threadPool, transportService
-
Constructor Summary
Constructors Constructor Description TransportPendingClusterTasksAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockException
checkBlock(PendingClusterTasksRequest request, ClusterState state)
protected java.lang.String
executor()
protected void
masterOperation(PendingClusterTasksRequest request, ClusterState state, ActionListener<PendingClusterTasksResponse> listener)
protected PendingClusterTasksResponse
read(StreamInput in)
Methods inherited from class org.opensearch.action.support.master.TransportMasterNodeReadAction
localExecute
Methods inherited from class org.opensearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, masterOperation
Methods inherited from class org.opensearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportPendingClusterTasksAction
@Inject public TransportPendingClusterTasksAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
executor
protected java.lang.String executor()- Specified by:
executor
in classTransportMasterNodeAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
-
read
- Specified by:
read
in classTransportMasterNodeAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
- Throws:
java.io.IOException
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
-
masterOperation
protected void masterOperation(PendingClusterTasksRequest request, ClusterState state, ActionListener<PendingClusterTasksResponse> listener)- Specified by:
masterOperation
in classTransportMasterNodeAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
-