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,AddVotingConfigExclusionsResponse>
org.elasticsearch.action.admin.cluster.configuration.TransportAddVotingConfigExclusionsAction
public class TransportAddVotingConfigExclusionsAction extends TransportMasterNodeAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>
-
Field Summary
Fields Modifier and Type Field Description static Setting<java.lang.Integer>MAXIMUM_VOTING_CONFIG_EXCLUSIONS_SETTINGFields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
Constructors Constructor Description TransportAddVotingConfigExclusionsAction(Settings settings, ClusterSettings clusterSettings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(AddVotingConfigExclusionsRequest request, ClusterState state)protected java.lang.Stringexecutor()protected voidmasterOperation(AddVotingConfigExclusionsRequest request, ClusterState state, ActionListener<AddVotingConfigExclusionsResponse> listener)protected AddVotingConfigExclusionsResponseread(StreamInput in)Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperationMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Field Details
-
Constructor Details
-
TransportAddVotingConfigExclusionsAction
@Inject public TransportAddVotingConfigExclusionsAction(Settings settings, ClusterSettings clusterSettings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
executor
protected java.lang.String executor()- Specified by:
executorin classTransportMasterNodeAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>
-
read
- Specified by:
readin classTransportMasterNodeAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>- Throws:
java.io.IOException
-
masterOperation
protected void masterOperation(AddVotingConfigExclusionsRequest request, ClusterState state, ActionListener<AddVotingConfigExclusionsResponse> listener) throws java.lang.Exception- Specified by:
masterOperationin classTransportMasterNodeAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>- Throws:
java.lang.Exception
-
checkBlock
protected ClusterBlockException checkBlock(AddVotingConfigExclusionsRequest request, ClusterState state)- Specified by:
checkBlockin classTransportMasterNodeAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>
-