Interface WriteProgress


public interface WriteProgress
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Abort the process; no effect if already completed
    void
    awaitFinished(Long amount, TimeUnit timeUnit)
    Block until the process is complete
    long
    Obtain the number of bytes written
    boolean
     
    boolean
     
  • Method Details

    • abort

      void abort()
      Abort the process; no effect if already completed
    • isAborted

      boolean isAborted()
    • isFinished

      boolean isFinished()
    • awaitFinished

      void awaitFinished(Long amount, TimeUnit timeUnit)
      Block until the process is complete
    • getBytesWritten

      long getBytesWritten()
      Obtain the number of bytes written