Class TransportResetFeatureStateAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<ResetFeatureStateRequest,ResetFeatureStateResponse>
org.elasticsearch.action.admin.cluster.snapshots.features.TransportResetFeatureStateAction
public class TransportResetFeatureStateAction
extends TransportMasterNodeAction<ResetFeatureStateRequest,ResetFeatureStateResponse>
Transport action for cleaning up feature index state.
-
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
ConstructorDescriptionTransportResetFeatureStateAction(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, SystemIndices systemIndices, NodeClient client, ClusterService clusterService, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock(ResetFeatureStateRequest request, ClusterState state)
protected void
masterOperation(ResetFeatureStateRequest request, ClusterState state, ActionListener<ResetFeatureStateResponse> 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
-
TransportResetFeatureStateAction
@Inject public TransportResetFeatureStateAction(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, SystemIndices systemIndices, NodeClient client, ClusterService clusterService, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
masterOperation
protected void masterOperation(ResetFeatureStateRequest request, ClusterState state, ActionListener<ResetFeatureStateResponse> listener) throws Exception- Specified by:
masterOperation
in classTransportMasterNodeAction<ResetFeatureStateRequest,ResetFeatureStateResponse>
- Throws:
Exception
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<ResetFeatureStateRequest,ResetFeatureStateResponse>
-