public class ThreadWaitSleeper extends Object implements Sleeper
Sleeper implementation that just blocks the current Thread with sleep period.| Constructor and Description |
|---|
ThreadWaitSleeper() |
| Modifier and Type | Method and Description |
|---|---|
void |
sleep(long backOffPeriod)
Pause for the specified period using whatever means available.
|
public void sleep(long backOffPeriod)
throws InterruptedException
Sleepersleep in interface SleeperbackOffPeriod - the backoff periodInterruptedException - the exception when interruptedCopyright © 2018 SpringSource. All rights reserved.