Module org.elasticsearch.server
Class TransportPendingClusterTasksAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
org.elasticsearch.action.support.HandledTransportAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
org.elasticsearch.action.admin.cluster.tasks.TransportPendingClusterTasksAction
- All Implemented Interfaces:
ActionWithReservedState<PendingClusterTasksRequest>
public class TransportPendingClusterTasksAction
extends TransportMasterNodeReadAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
-
Field Summary
FieldsFields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportPendingClusterTasksAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(PendingClusterTasksRequest request, ClusterState state) protected voidmasterOperation(Task task, PendingClusterTasksRequest request, ClusterState state, ActionListener<PendingClusterTasksResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecuteMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportPendingClusterTasksAction
@Inject public TransportPendingClusterTasksAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
-
masterOperation
protected void masterOperation(Task task, PendingClusterTasksRequest request, ClusterState state, ActionListener<PendingClusterTasksResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
-