Module org.elasticsearch.server
Class TransportClearVotingConfigExclusionsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty>
org.elasticsearch.action.admin.cluster.configuration.TransportClearVotingConfigExclusionsAction
- All Implemented Interfaces:
ActionWithReservedState<ClearVotingConfigExclusionsRequest>
public class TransportClearVotingConfigExclusionsAction
extends TransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty>
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionTransportClearVotingConfigExclusionsAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Reconfigurator reconfigurator) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(ClearVotingConfigExclusionsRequest request, ClusterState state) protected void
masterOperation
(Task task, ClearVotingConfigExclusionsRequest request, ClusterState initialState, 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, localOnly
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
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportClearVotingConfigExclusionsAction
@Inject public TransportClearVotingConfigExclusionsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Reconfigurator reconfigurator)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, ClearVotingConfigExclusionsRequest request, ClusterState initialState, ActionListener<ActionResponse.Empty> listener) throws Exception - Specified by:
masterOperation
in classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,
ActionResponse.Empty> - Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(ClearVotingConfigExclusionsRequest request, ClusterState state) - Specified by:
checkBlock
in classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,
ActionResponse.Empty>
-