public class ResumableDownloadMonitor extends Object implements Callable<File>, TransferMonitor
| 限定符和类型 | 方法和说明 |
|---|---|
File |
call() |
static ResumableDownloadMonitor |
create(ProgressListenerChain listener,
com.qcloud.cos.transfer.ResumableDownloadSubmitter downloadSubmitter,
DownloadImpl transfer,
ExecutorService threadPool,
PersistableResumeDownload downloadRecord,
File destFile,
FileChannel destFileChannel) |
Future<File> |
getFuture()
Returns a Future to wait on.
|
boolean |
isDone()
Returns whether the transfer is completed.
|
public Future<File> getFuture()
TransferMonitorgetFuture 在接口中 TransferMonitorpublic static ResumableDownloadMonitor create(ProgressListenerChain listener, com.qcloud.cos.transfer.ResumableDownloadSubmitter downloadSubmitter, DownloadImpl transfer, ExecutorService threadPool, PersistableResumeDownload downloadRecord, File destFile, FileChannel destFileChannel)
public boolean isDone()
TransferMonitorisDone 在接口中 TransferMonitorCopyright © 2021. All rights reserved.