Interface ProgressReporter

    • Method Detail

      • increment

        void increment​(long delta)
        Increments the current progress by given delta and prints the progress if necessary.
      • incrementMaxProgress

        void incrementMaxProgress​(long theMaxProgress)
        Increments the maximum progress value for this monitor
      • stop

        void stop()
        Stop the progress reporting. Maybe print final number
      • close

        default void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • stage

        void stage​(java.lang.String stageName)
        Set the name of current stage of the process.
      • print

        default void print()
        Print the current progress, implementations may implement this as a no-op