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