public class DownloadMonitor extends Object implements TransferMonitor
Constructor and Description |
---|
DownloadMonitor(DownloadImpl download,
Future<?> future) |
Modifier and Type | Method and Description |
---|---|
Future<?> |
getFuture()
Returns a Future to wait on.
|
boolean |
isDone()
Returns whether the transfer is completed.
|
public DownloadMonitor(DownloadImpl download, Future<?> future)
public Future<?> getFuture()
TransferMonitor
getFuture
in interface TransferMonitor
public boolean isDone()
TransferMonitor
isDone
in interface TransferMonitor
Copyright © 2024. All rights reserved.