ThreadWaitSleeper
@Deprecated public class ObjectWaitSleeper extends Object implements Sleeper
Sleeper
implementation that just waits on a local Object.Constructor and Description |
---|
ObjectWaitSleeper()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
sleep(long backOffPeriod)
Deprecated.
Pause for the specified period using whatever means available.
|
public void sleep(long backOffPeriod) throws InterruptedException
Sleeper
sleep
in interface Sleeper
backOffPeriod
- the backoff periodInterruptedException
- the exception when interruptedCopyright © 2018 SpringSource. All rights reserved.