Interface ProgressListener


public interface ProgressListener
Generic progress listener interface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    markProgress(long workDone)
    Called by entity performing operation to indicate progress
    void
    setTotalWorkAmount(long workTotal)
    Called by entity performing operation to indicate total amount of work to be done
  • Method Details

    • setTotalWorkAmount

      void setTotalWorkAmount(long workTotal)
      Called by entity performing operation to indicate total amount of work to be done
      Parameters:
      workTotal - The amount of total work
    • markProgress

      void markProgress(long workDone)
      Called by entity performing operation to indicate progress
      Parameters:
      workDone - raw value of work done (for example, number of bytes transferred)