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()
TransferMonitorgetFuture in interface TransferMonitorpublic void setFuture(Future<?> future)
public boolean isDone()
TransferMonitorisDone in interface TransferMonitorCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.