Package ai.vespa.util.http.hc4.retry
Interface Sleeper
-
- All Known Implementing Classes:
Sleeper.Default
public interface Sleeper
An abstraction used for mockingThread.sleep(long)
in unit tests.- Author:
- bjorncs
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Sleeper.Default
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
sleep(Duration duration)
-
-
-
Method Detail
-
sleep
void sleep(Duration duration)
-
-