Class ProgressUpdateAction

java.lang.Object
me.tongfei.progressbar.ProgressUpdateAction
All Implemented Interfaces:
Runnable

class ProgressUpdateAction extends Object implements Runnable
Represents the action that is executed for each refresh of a progress bar.
  • Field Details

    • progress

      ProgressState progress
    • renderer

      private ProgressBarRenderer renderer
    • consumer

      private ProgressBarConsumer consumer
    • continuousUpdate

      private boolean continuousUpdate
    • clearDisplayOnFinish

      private boolean clearDisplayOnFinish
    • last

      private volatile long last
    • first

      private volatile boolean first
  • Constructor Details

  • Method Details

    • refresh

      void refresh()
    • forceRefresh

      public void forceRefresh()
    • run

      public void run()
      Specified by:
      run in interface Runnable