Interface IdleStrategy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void idle()
      Idle action (sleep, wait, etc).
      void idle​(int workCount)  
      void reset()
      Reset the internal state (after doing some work).
    • Method Detail

      • idle

        void idle​(int workCount)
        Parameters:
        workCount - amount of work done in the last cycle. Value "0" means that no work as done and some data form an external source expected.
      • idle

        void idle()
        Idle action (sleep, wait, etc).
      • reset

        void reset()
        Reset the internal state (after doing some work).