Module org.elasticsearch.server
Class TransportDeleteSnapshotAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<DeleteSnapshotRequest,AcknowledgedResponse>
org.elasticsearch.action.support.HandledTransportAction<DeleteSnapshotRequest,AcknowledgedResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<DeleteSnapshotRequest,AcknowledgedResponse>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeAction<DeleteSnapshotRequest>
org.elasticsearch.action.admin.cluster.snapshots.delete.TransportDeleteSnapshotAction
- All Implemented Interfaces:
ActionWithReservedState<DeleteSnapshotRequest>
public class TransportDeleteSnapshotAction
extends AcknowledgedTransportMasterNodeAction<DeleteSnapshotRequest>
Transport action for delete snapshot operation
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionTransportDeleteSnapshotAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(DeleteSnapshotRequest request, ClusterState state) protected voiddoExecute(Task task, DeleteSnapshotRequest request, ActionListener<AcknowledgedResponse> listener) protected voidmasterOperation(Task task, DeleteSnapshotRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
localExecute, validateForReservedStateMethods 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
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportDeleteSnapshotAction
@Inject public TransportDeleteSnapshotAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<DeleteSnapshotRequest,AcknowledgedResponse>
-
doExecute
protected void doExecute(Task task, DeleteSnapshotRequest request, ActionListener<AcknowledgedResponse> listener) - Overrides:
doExecutein classTransportMasterNodeAction<DeleteSnapshotRequest,AcknowledgedResponse>
-
masterOperation
protected void masterOperation(Task task, DeleteSnapshotRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<DeleteSnapshotRequest,AcknowledgedResponse>
-