Module org.elasticsearch.server
Class TransportDeleteDesiredNodesAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<AcknowledgedRequest.Plain,ActionResponse.Empty>
org.elasticsearch.action.support.HandledTransportAction<AcknowledgedRequest.Plain,ActionResponse.Empty>
org.elasticsearch.action.support.master.TransportMasterNodeAction<AcknowledgedRequest.Plain,ActionResponse.Empty>
org.elasticsearch.action.admin.cluster.desirednodes.TransportDeleteDesiredNodesAction
- All Implemented Interfaces:
ActionWithReservedState<AcknowledgedRequest.Plain>
public class TransportDeleteDesiredNodesAction
extends TransportMasterNodeAction<AcknowledgedRequest.Plain,ActionResponse.Empty>
-
Nested Class Summary
Nested Classes -
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
ConstructorsConstructorDescriptionTransportDeleteDesiredNodesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(AcknowledgedRequest.Plain request, ClusterState state) protected voidmasterOperation(Task task, AcknowledgedRequest.Plain request, ClusterState state, ActionListener<ActionResponse.Empty> listener) 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
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportDeleteDesiredNodesAction
@Inject public TransportDeleteDesiredNodesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, AcknowledgedRequest.Plain request, ClusterState state, ActionListener<ActionResponse.Empty> listener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<AcknowledgedRequest.Plain,ActionResponse.Empty> - Throws:
Exception
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<AcknowledgedRequest.Plain,ActionResponse.Empty>
-