public interface Sleeper extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
sleep(long backOffPeriod)
Pause for the specified period using whatever means available.
|
void sleep(long backOffPeriod) throws InterruptedException
backOffPeriod
- the backoff periodInterruptedException
- the exception when interruptedCopyright © 2018 SpringSource. All rights reserved.