Module org.elasticsearch.server
Class TransportCloneSnapshotAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<CloneSnapshotRequest,AcknowledgedResponse>
org.elasticsearch.action.support.HandledTransportAction<CloneSnapshotRequest,AcknowledgedResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<CloneSnapshotRequest,AcknowledgedResponse>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeAction<CloneSnapshotRequest>
org.elasticsearch.action.admin.cluster.snapshots.clone.TransportCloneSnapshotAction
- All Implemented Interfaces:
ActionWithReservedState<CloneSnapshotRequest>
public final class TransportCloneSnapshotAction
extends AcknowledgedTransportMasterNodeAction<CloneSnapshotRequest>
Transport action for the clone 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
ConstructorsConstructorDescriptionTransportCloneSnapshotAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(CloneSnapshotRequest request, ClusterState state) protected voidmasterOperation(Task task, CloneSnapshotRequest request, ClusterState state, ActionListener<AcknowledgedResponse> 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
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportCloneSnapshotAction
@Inject public TransportCloneSnapshotAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<CloneSnapshotRequest,AcknowledgedResponse>
-
masterOperation
protected void masterOperation(Task task, CloneSnapshotRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<CloneSnapshotRequest,AcknowledgedResponse>
-