Interface ProgressWorker.ProgressReporter<V>

Type Parameters:
V - the intermediate result type
Enclosing class:
ProgressWorker<T,V>

public static interface ProgressWorker.ProgressReporter<V>
Reports progress and publishes intermediate results for a ProgressWorker
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    publish(V... chunks)
     
    void
    report(int progress)
     
  • Method Details

    • report

      void report(int progress)
      Parameters:
      progress - the progress, 0 - maximumProgress.
    • publish

      void publish(V... chunks)
      Parameters:
      chunks - the chunks to publish