org.elasticsearch.action.admin.cluster.node.shutdown
Class TransportNodesShutdownAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeOperationAction<NodesShutdownRequest,NodesShutdownResponse>
org.elasticsearch.action.admin.cluster.node.shutdown.TransportNodesShutdownAction
- All Implemented Interfaces:
- Action<NodesShutdownRequest,NodesShutdownResponse>
public class TransportNodesShutdownAction
- extends TransportMasterNodeOperationAction<NodesShutdownRequest,NodesShutdownResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportNodesShutdownAction
@Inject
public TransportNodesShutdownAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
Node node,
ClusterName clusterName)
executor
protected java.lang.String executor()
- Specified by:
executor
in class TransportMasterNodeOperationAction<NodesShutdownRequest,NodesShutdownResponse>
transportAction
protected java.lang.String transportAction()
- Specified by:
transportAction
in class TransportMasterNodeOperationAction<NodesShutdownRequest,NodesShutdownResponse>
newRequest
protected NodesShutdownRequest newRequest()
- Specified by:
newRequest
in class TransportMasterNodeOperationAction<NodesShutdownRequest,NodesShutdownResponse>
newResponse
protected NodesShutdownResponse newResponse()
- Specified by:
newResponse
in class TransportMasterNodeOperationAction<NodesShutdownRequest,NodesShutdownResponse>
processBeforeDelegationToMaster
protected void processBeforeDelegationToMaster(NodesShutdownRequest request,
ClusterState state)
- Overrides:
processBeforeDelegationToMaster
in class TransportMasterNodeOperationAction<NodesShutdownRequest,NodesShutdownResponse>
masterOperation
protected NodesShutdownResponse masterOperation(NodesShutdownRequest request,
ClusterState state)
throws ElasticSearchException
- Specified by:
masterOperation
in class TransportMasterNodeOperationAction<NodesShutdownRequest,NodesShutdownResponse>
- Throws:
ElasticSearchException