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<Integer>MAXIMUM_VOTING_CONFIG_EXCLUSIONS_SETTING-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
-
Constructor Summary
Constructors Constructor Description TransportAddVotingConfigExclusionsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(AddVotingConfigExclusionsRequest request, ClusterState state)protected 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, masterOperation
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportAddVotingConfigExclusionsAction
@Inject public TransportAddVotingConfigExclusionsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
executor
protected String executor()
- Specified by:
executorin classTransportMasterNodeAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>
-
read
protected AddVotingConfigExclusionsResponse read(StreamInput in) throws IOException
- Specified by:
readin classTransportMasterNodeAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>- Throws:
IOException
-
masterOperation
protected void masterOperation(AddVotingConfigExclusionsRequest request, ClusterState state, ActionListener<AddVotingConfigExclusionsResponse> listener) throws Exception
- Specified by:
masterOperationin classTransportMasterNodeAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>- Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(AddVotingConfigExclusionsRequest request, ClusterState state)
- Specified by:
checkBlockin classTransportMasterNodeAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>
-
-