Class ResumeTransferProgress
- java.lang.Object
-
- software.amazon.awssdk.transfer.s3.internal.progress.ResumeTransferProgress
-
- All Implemented Interfaces:
TransferProgress
public class ResumeTransferProgress extends Object implements TransferProgress
An implementation ofTransferProgressused when resuming a transfer. This uses a bytes-transferred of 0 until the real progress is available (when the transfer starts).
-
-
Constructor Summary
Constructors Constructor Description ResumeTransferProgress(CompletableFuture<TransferProgress> progressFuture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferProgressSnapshotsnapshot()Takes a snapshot of the current progress, represented by an immutableTransferProgressSnapshot.
-
-
-
Constructor Detail
-
ResumeTransferProgress
public ResumeTransferProgress(CompletableFuture<TransferProgress> progressFuture)
-
-
Method Detail
-
snapshot
public TransferProgressSnapshot snapshot()
Description copied from interface:TransferProgressTakes a snapshot of the current progress, represented by an immutableTransferProgressSnapshot.- Specified by:
snapshotin interfaceTransferProgress
-
-