Class TransportClearVotingConfigExclusionsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty>
org.elasticsearch.action.admin.cluster.configuration.TransportClearVotingConfigExclusionsAction
public class TransportClearVotingConfigExclusionsAction
extends TransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty>
-
Field Summary
Fields 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
ConstructorDescriptionTransportClearVotingConfigExclusionsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock(ClearVotingConfigExclusionsRequest request, ClusterState state)
protected void
masterOperation(ClearVotingConfigExclusionsRequest request, ClusterState initialState, 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
-
Constructor Details
-
TransportClearVotingConfigExclusionsAction
@Inject public TransportClearVotingConfigExclusionsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
masterOperation
protected void masterOperation(ClearVotingConfigExclusionsRequest request, ClusterState initialState, ActionListener<ActionResponse.Empty> listener) throws Exception- Specified by:
masterOperation
in classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty>
- Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(ClearVotingConfigExclusionsRequest request, ClusterState state)- Specified by:
checkBlock
in classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty>
-