Interface GenerationProgressCallback

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface GenerationProgressCallback
Callback interface for monitoring generation progress.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onProgress(int waitTime, int queuePosition, int processing, int finished)
    Called when the status is updated during polling.
  • Method Details

    • onProgress

      void onProgress(int waitTime, int queuePosition, int processing, int finished)
      Called when the status is updated during polling.
      Parameters:
      waitTime - Estimated wait time in seconds
      queuePosition - Position in the queue
      processing - Number of jobs currently processing
      finished - Number of jobs finished