Class TransportAddVotingConfigExclusionsAction
java.lang.Object
org.opensearch.action.support.TransportAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>
org.opensearch.action.support.HandledTransportAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>
org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>
org.opensearch.action.admin.cluster.configuration.TransportAddVotingConfigExclusionsAction
public class TransportAddVotingConfigExclusionsAction
extends TransportClusterManagerNodeAction<AddVotingConfigExclusionsRequest,AddVotingConfigExclusionsResponse>
Transport endpoint action for adding exclusions to voting config
- Opensearch.internal:
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.opensearch.action.support.TransportAction
actionName, taskManager
-
Constructor Summary
ConstructorDescriptionTransportAddVotingConfigExclusionsAction
(Settings settings, ClusterSettings clusterSettings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(AddVotingConfigExclusionsRequest request, ClusterState state) protected void
clusterManagerOperation
(AddVotingConfigExclusionsRequest request, ClusterState state, org.opensearch.core.action.ActionListener<AddVotingConfigExclusionsResponse> listener) protected String
executor()
protected AddVotingConfigExclusionsResponse
read
(org.opensearch.core.common.io.stream.StreamInput in) Methods inherited from class org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction
clusterManagerOperation, doExecute, getClusterManagerActionName, getMasterActionName, localExecute, localExecuteSupportedByAction, masterOperation, masterOperation
Methods inherited from class org.opensearch.action.support.TransportAction
execute, execute, execute
-
Field Details
-
MAXIMUM_VOTING_CONFIG_EXCLUSIONS_SETTING
-
-
Constructor Details
-
TransportAddVotingConfigExclusionsAction
@Inject public TransportAddVotingConfigExclusionsAction(Settings settings, ClusterSettings clusterSettings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
executor
- Specified by:
executor
in classTransportClusterManagerNodeAction<AddVotingConfigExclusionsRequest,
AddVotingConfigExclusionsResponse>
-
read
protected AddVotingConfigExclusionsResponse read(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Specified by:
read
in classTransportClusterManagerNodeAction<AddVotingConfigExclusionsRequest,
AddVotingConfigExclusionsResponse> - Throws:
IOException
-
clusterManagerOperation
protected void clusterManagerOperation(AddVotingConfigExclusionsRequest request, ClusterState state, org.opensearch.core.action.ActionListener<AddVotingConfigExclusionsResponse> listener) throws Exception - Overrides:
clusterManagerOperation
in classTransportClusterManagerNodeAction<AddVotingConfigExclusionsRequest,
AddVotingConfigExclusionsResponse> - Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(AddVotingConfigExclusionsRequest request, ClusterState state) - Specified by:
checkBlock
in classTransportClusterManagerNodeAction<AddVotingConfigExclusionsRequest,
AddVotingConfigExclusionsResponse>
-