Interface Sleeper

All Known Implementing Classes:
Sleeper.Default

public interface Sleeper
An abstraction used for mocking Thread.sleep(long) in unit tests.
Author:
bjorncs
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sleep(Duration duration)
     
  • Method Details