com.amazonaws.services.s3.transfer.internal

## インタフェース TransferMonitor

- 既知の実装クラスのリスト:
    DownloadMonitor, MultipleFileTransferMonitor, UploadMonitor

      public interface TransferMonitor

  Monitors long-running transfers.

- - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.util.concurrent.Future<?>` | `getFuture()` Returns a Future to wait on.
    `boolean` | `isDone()` Returns whether the transfer is completed.

- - ### メソッドの詳細

    - #### getFuture

          java.util.concurrent.Future<?> getFuture()

      Returns a Future to wait on. Calling get() on this future will block while the transfer progress is checked, but its return does not guarantee the transfer is complete. Call isDone() to check for completion. Repeated calls to getFuture() can return different objects.

    - #### isDone

          boolean isDone()

      Returns whether the transfer is completed. A failure or cancellation counts as completion as well; to gather any exceptions thrown, call getFuture().get()