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,ClearVotingConfigExclusionsResponse>
-
- org.elasticsearch.action.admin.cluster.configuration.TransportClearVotingConfigExclusionsAction
-
public class TransportClearVotingConfigExclusionsAction extends TransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ClearVotingConfigExclusionsResponse>
-
-
Field Summary
-
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 TransportClearVotingConfigExclusionsAction(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(ClearVotingConfigExclusionsRequest request, ClusterState state)protected Stringexecutor()protected voidmasterOperation(ClearVotingConfigExclusionsRequest request, ClusterState initialState, ActionListener<ClearVotingConfigExclusionsResponse> listener)protected ClearVotingConfigExclusionsResponseread(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
-
TransportClearVotingConfigExclusionsAction
@Inject public TransportClearVotingConfigExclusionsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
executor
protected String executor()
- Specified by:
executorin classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ClearVotingConfigExclusionsResponse>
-
read
protected ClearVotingConfigExclusionsResponse read(StreamInput in) throws IOException
- Specified by:
readin classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ClearVotingConfigExclusionsResponse>- Throws:
IOException
-
masterOperation
protected void masterOperation(ClearVotingConfigExclusionsRequest request, ClusterState initialState, ActionListener<ClearVotingConfigExclusionsResponse> listener) throws Exception
- Specified by:
masterOperationin classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ClearVotingConfigExclusionsResponse>- Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(ClearVotingConfigExclusionsRequest request, ClusterState state)
- Specified by:
checkBlockin classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ClearVotingConfigExclusionsResponse>
-
-