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.
|
void |
setFuture(Future<?> future) |
public DownloadMonitor(DownloadImpl download, Future<?> future)
public Future<?> getFuture()
TransferMonitor
getFuture
in interface TransferMonitor
public void setFuture(Future<?> future)
public boolean isDone()
TransferMonitor
isDone
in interface TransferMonitor
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.