public interface RetrySleeper
Modifier and Type | Method and Description |
---|---|
void |
sleepFor(long time,
TimeUnit unit)
Sleep for the given time
|
void sleepFor(long time, TimeUnit unit) throws InterruptedException
time
- timeunit
- time unitInterruptedException
- if the sleep is interruptedCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.