Module org.elasticsearch.server
Class TransportDeleteSnapshotAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,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
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, taskManager
-
Constructor Summary
ConstructorDescriptionTransportDeleteSnapshotAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(DeleteSnapshotRequest request, ClusterState state) protected void
masterOperation
(Task task, DeleteSnapshotRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Constructor Details
-
TransportDeleteSnapshotAction
@Inject public TransportDeleteSnapshotAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<DeleteSnapshotRequest,
AcknowledgedResponse>
-
masterOperation
protected void masterOperation(Task task, DeleteSnapshotRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener) - Specified by:
masterOperation
in classTransportMasterNodeAction<DeleteSnapshotRequest,
AcknowledgedResponse>
-