public class PresignUrlDownloadCallable extends AbstractDownloadCallable
Constructor and Description |
---|
PresignUrlDownloadCallable(ExecutorService executor,
File dstfile,
CountDownLatch latch,
PresignedUrlDownloadImpl download,
boolean isDownloadParallel,
ScheduledExecutorService timedExecutor,
long timeout,
AmazonS3 s3,
PresignedUrlDownloadRequest request,
long perRequestDownloadSize,
Long startByte,
Long endByte,
boolean resumeOnRetry) |
Modifier and Type | Method and Description |
---|---|
static void |
setTesting(boolean b)
Used for testing purpose only.
|
call
public PresignUrlDownloadCallable(ExecutorService executor, File dstfile, CountDownLatch latch, PresignedUrlDownloadImpl download, boolean isDownloadParallel, ScheduledExecutorService timedExecutor, long timeout, AmazonS3 s3, PresignedUrlDownloadRequest request, long perRequestDownloadSize, Long startByte, Long endByte, boolean resumeOnRetry)