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