Package alluxio.time

Interface Sleeper

  • All Known Implementing Classes:
    ThreadSleeper

    public interface Sleeper
    An interface for a utility which provides a sleep method.
    • Method Detail

      • sleep

        void sleep​(java.time.Duration duration)
            throws java.lang.InterruptedException
        Sleeps for the given duration.
        Parameters:
        duration - the duration to sleep for
        Throws:
        java.lang.InterruptedException - if the sleep is interrupted