public class TransportPendingClusterTasksAction extends TransportMasterNodeReadOperationAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
FORCE_LOCAL_SETTING
transportService
actionName, threadPool
componentSettings, logger, settings
Constructor and Description |
---|
TransportPendingClusterTasksAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
ActionFilters actionFilters) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
checkBlock(PendingClusterTasksRequest request,
ClusterState state) |
protected String |
executor() |
protected void |
masterOperation(PendingClusterTasksRequest request,
ClusterState state,
ActionListener<PendingClusterTasksResponse> listener) |
protected PendingClusterTasksRequest |
newRequest() |
protected PendingClusterTasksResponse |
newResponse() |
localExecute
doExecute, forceThreadedListener, processBeforeDelegationToMaster
execute, execute
nodeName
@Inject public TransportPendingClusterTasksAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters)
protected String executor()
executor
in class TransportMasterNodeOperationAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
protected ClusterBlockException checkBlock(PendingClusterTasksRequest request, ClusterState state)
checkBlock
in class TransportMasterNodeOperationAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
protected PendingClusterTasksRequest newRequest()
newRequest
in class TransportMasterNodeOperationAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
protected PendingClusterTasksResponse newResponse()
newResponse
in class TransportMasterNodeOperationAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
protected void masterOperation(PendingClusterTasksRequest request, ClusterState state, ActionListener<PendingClusterTasksResponse> listener) throws ElasticsearchException
masterOperation
in class TransportMasterNodeOperationAction<PendingClusterTasksRequest,PendingClusterTasksResponse>
ElasticsearchException
Copyright © 2009–2015. All rights reserved.