Interface BlueMindCalendarImportClient.Sleeper
- Enclosing class:
BlueMindCalendarImportClient
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
How the poll loop waits between two status reads — a seam, so a test can
drive the deadline without spending the time.
-
Method Summary
-
Method Details
-
sleep
Waits for the duration.- Parameters:
duration- how long- Throws:
InterruptedException- when the thread is interrupted meanwhile
-