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, logger, taskManager
-
-
Constructor Summary
Constructors Constructor Description TransportClearVotingConfigExclusionsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockException
checkBlock(ClearVotingConfigExclusionsRequest request, ClusterState state)
protected java.lang.String
executor()
protected void
masterOperation(ClearVotingConfigExclusionsRequest request, ClusterState initialState, ActionListener<ClearVotingConfigExclusionsResponse> listener)
protected ClearVotingConfigExclusionsResponse
newResponse()
protected ClearVotingConfigExclusionsResponse
read(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 java.lang.String executor()
- Specified by:
executor
in classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ClearVotingConfigExclusionsResponse>
-
newResponse
protected ClearVotingConfigExclusionsResponse newResponse()
- Specified by:
newResponse
in classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ClearVotingConfigExclusionsResponse>
- Returns:
- a new response instance. Typically this is used for serialization using the
Streamable.readFrom(StreamInput)
method.
-
read
protected ClearVotingConfigExclusionsResponse read(StreamInput in) throws java.io.IOException
- Overrides:
read
in classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ClearVotingConfigExclusionsResponse>
- Throws:
java.io.IOException
-
masterOperation
protected void masterOperation(ClearVotingConfigExclusionsRequest request, ClusterState initialState, ActionListener<ClearVotingConfigExclusionsResponse> listener) throws java.lang.Exception
- Specified by:
masterOperation
in classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ClearVotingConfigExclusionsResponse>
- Throws:
java.lang.Exception
-
checkBlock
protected ClusterBlockException checkBlock(ClearVotingConfigExclusionsRequest request, ClusterState state)
- Specified by:
checkBlock
in classTransportMasterNodeAction<ClearVotingConfigExclusionsRequest,ClearVotingConfigExclusionsResponse>
-
-