Module org.elasticsearch.server
Class TransportUpdateDesiredNodesAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<UpdateDesiredNodesRequest,UpdateDesiredNodesResponse>
org.elasticsearch.action.support.HandledTransportAction<UpdateDesiredNodesRequest,UpdateDesiredNodesResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<UpdateDesiredNodesRequest,UpdateDesiredNodesResponse>
org.elasticsearch.action.admin.cluster.desirednodes.TransportUpdateDesiredNodesAction
- All Implemented Interfaces:
ActionWithReservedState<UpdateDesiredNodesRequest>
public class TransportUpdateDesiredNodesAction
extends TransportMasterNodeAction<UpdateDesiredNodesRequest,UpdateDesiredNodesResponse>
-
Field Summary
Fields 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
ConstructorsConstructorDescriptionTransportUpdateDesiredNodesAction(TransportService transportService, ClusterService clusterService, RerouteService rerouteService, ThreadPool threadPool, ActionFilters actionFilters, AllocationService allocationService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(UpdateDesiredNodesRequest request, ClusterState state) protected voidmasterOperation(Task task, UpdateDesiredNodesRequest request, ClusterState state, ActionListener<UpdateDesiredNodesResponse> responseListener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute, validateForReservedStateMethods 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
-
Constructor Details
-
TransportUpdateDesiredNodesAction
@Inject public TransportUpdateDesiredNodesAction(TransportService transportService, ClusterService clusterService, RerouteService rerouteService, ThreadPool threadPool, ActionFilters actionFilters, AllocationService allocationService)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<UpdateDesiredNodesRequest,UpdateDesiredNodesResponse>
-
masterOperation
protected void masterOperation(Task task, UpdateDesiredNodesRequest request, ClusterState state, ActionListener<UpdateDesiredNodesResponse> responseListener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<UpdateDesiredNodesRequest,UpdateDesiredNodesResponse> - Throws:
Exception
-