Module org.elasticsearch.server
Class TransportDeleteDesiredBalanceAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
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
Modifier and TypeClassDescriptionstatic final record
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
Constructor Summary
ConstructorDescriptionTransportDeleteDesiredBalanceAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, AllocationService allocationService, ShardsAllocator shardsAllocator) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(DesiredBalanceRequest request, ClusterState state) protected void
masterOperation
(Task task, DesiredBalanceRequest request, ClusterState state, ActionListener<ActionResponse.Empty> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Constructor Details
-
TransportDeleteDesiredBalanceAction
@Inject public TransportDeleteDesiredBalanceAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, AllocationService allocationService, ShardsAllocator shardsAllocator)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, DesiredBalanceRequest request, ClusterState state, ActionListener<ActionResponse.Empty> listener) throws Exception - Specified by:
masterOperation
in classTransportMasterNodeAction<DesiredBalanceRequest,
ActionResponse.Empty> - Throws:
Exception
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<DesiredBalanceRequest,
ActionResponse.Empty>
-