Class TransportCloneSnapshotAction
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<CloneSnapshotRequest>
org.elasticsearch.action.admin.cluster.snapshots.clone.TransportCloneSnapshotAction
public final class TransportCloneSnapshotAction
extends AcknowledgedTransportMasterNodeAction<CloneSnapshotRequest>
Transport action for the clone 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, localConnection, taskManager
-
Constructor Summary
ConstructorDescriptionTransportCloneSnapshotAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock(CloneSnapshotRequest request, ClusterState state)
protected void
masterOperation(CloneSnapshotRequest request, ClusterState state, ActionListener<AcknowledgedResponse> 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
-
TransportCloneSnapshotAction
@Inject public TransportCloneSnapshotAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
masterOperation
protected void masterOperation(CloneSnapshotRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)- Specified by:
masterOperation
in classTransportMasterNodeAction<CloneSnapshotRequest,AcknowledgedResponse>
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<CloneSnapshotRequest,AcknowledgedResponse>
-