Module org.elasticsearch.server
Class TransportDeleteDesiredBalanceAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<DesiredBalanceRequest,ActionResponse.Empty>
org.elasticsearch.action.support.HandledTransportAction<DesiredBalanceRequest,ActionResponse.Empty>
org.elasticsearch.action.support.master.TransportMasterNodeAction<DesiredBalanceRequest,ActionResponse.Empty>
org.elasticsearch.action.admin.cluster.allocation.TransportDeleteDesiredBalanceAction
- All Implemented Interfaces:
ActionWithReservedState<DesiredBalanceRequest>
public class TransportDeleteDesiredBalanceAction
extends TransportMasterNodeAction<DesiredBalanceRequest,ActionResponse.Empty>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
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
ConstructorsConstructorDescriptionTransportDeleteDesiredBalanceAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, AllocationService allocationService, ShardsAllocator shardsAllocator) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(DesiredBalanceRequest request, ClusterState state) protected voidmasterOperation(Task task, DesiredBalanceRequest request, ClusterState state, ActionListener<ActionResponse.Empty> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecuteMethods 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
-
TransportDeleteDesiredBalanceAction
@Inject public TransportDeleteDesiredBalanceAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, AllocationService allocationService, ShardsAllocator shardsAllocator)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, DesiredBalanceRequest request, ClusterState state, ActionListener<ActionResponse.Empty> listener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<DesiredBalanceRequest,ActionResponse.Empty> - Throws:
Exception
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<DesiredBalanceRequest,ActionResponse.Empty>
-