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, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportClearVotingConfigExclusionsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(ClearVotingConfigExclusionsRequest request, ClusterState state) protected voidmasterOperation(Task task, ClearVotingConfigExclusionsRequest request, ClusterState initialState, ActionListener<ActionResponse.Empty> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute
-
Constructor Details
-
TransportClearVotingConfigExclusionsAction
@Inject public TransportClearVotingConfigExclusionsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, ClearVotingConfigExclusionsRequest request, ClusterState initialState, ActionListener<ActionResponse.Empty> listener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty> - Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(ClearVotingConfigExclusionsRequest request, ClusterState state) - Specified by:
checkBlockin classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ActionResponse.Empty>
-