Module org.elasticsearch.server
Class TransportResetFeatureStateAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<ResetFeatureStateRequest,ResetFeatureStateResponse>
org.elasticsearch.action.support.HandledTransportAction<ResetFeatureStateRequest,ResetFeatureStateResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<ResetFeatureStateRequest,ResetFeatureStateResponse>
org.elasticsearch.action.admin.cluster.snapshots.features.TransportResetFeatureStateAction
- All Implemented Interfaces:
ActionWithReservedState<ResetFeatureStateRequest>
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, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportResetFeatureStateAction(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, SystemIndices systemIndices, NodeClient client, ClusterService clusterService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(ResetFeatureStateRequest request, ClusterState state) protected voidmasterOperation(Task task, ResetFeatureStateRequest request, ClusterState state, ActionListener<ResetFeatureStateResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Constructor Details
-
TransportResetFeatureStateAction
@Inject public TransportResetFeatureStateAction(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, SystemIndices systemIndices, NodeClient client, ClusterService clusterService)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, ResetFeatureStateRequest request, ClusterState state, ActionListener<ResetFeatureStateResponse> listener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<ResetFeatureStateRequest,ResetFeatureStateResponse> - Throws:
Exception
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<ResetFeatureStateRequest,ResetFeatureStateResponse>
-