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
public class TransportAddVotingConfigExclusionsAction
extends TransportMasterNodeAction<AddVotingConfigExclusionsRequest,ActionResponse.Empty>
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager
-
Constructor Summary
ConstructorsConstructorDescriptionTransportAddVotingConfigExclusionsAction
(Settings settings, ClusterSettings clusterSettings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(AddVotingConfigExclusionsRequest request, ClusterState state) protected void
masterOperation
(AddVotingConfigExclusionsRequest request, ClusterState state, ActionListener<ActionResponse.Empty> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperation
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Field Details
-
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)
-
-
Method Details
-
masterOperation
protected void masterOperation(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>
-