Module org.elasticsearch.server
Class TransportClearVotingConfigExclusionsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty>
org.elasticsearch.action.support.HandledTransportAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty>
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, threadPool, transportServiceFields 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 ClusterBlockExceptioncheckBlock(ClearVotingConfigExclusionsRequest request, ClusterState state) protected voidmasterOperation(Task task, ClearVotingConfigExclusionsRequest request, ClusterState initialState, 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
-
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:
masterOperationin classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty> - Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(ClearVotingConfigExclusionsRequest request, ClusterState state) - Specified by:
checkBlockin classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty>
-