Interface Sleeper

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  Sleeper.DefaultSleeper
      Default sleeper implementation.
    • Method Detail

      • sleep

        void sleep​(long millis)
            throws InterruptedException
        Sleep for the given number of milliseconds.
        Parameters:
        millis - the sleep duration
        Throws:
        InterruptedException - if sleep is interrupted