Class ObjectWaitSleeper
java.lang.Object
org.springframework.retry.backoff.ObjectWaitSleeper
- All Implemented Interfaces:
Serializable
,Sleeper
Deprecated.
Simple
Sleeper
implementation that just waits on a local Object.- Author:
- Dave Syer
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sleep
(long backOffPeriod) Deprecated.Pause for the specified period using whatever means available.
-
Constructor Details
-
ObjectWaitSleeper
public ObjectWaitSleeper()Deprecated.
-
-
Method Details
-
sleep
Deprecated.Description copied from interface:Sleeper
Pause for the specified period using whatever means available.- Specified by:
sleep
in interfaceSleeper
- Parameters:
backOffPeriod
- the backoff period- Throws:
InterruptedException
- the exception when interrupted
-
ThreadWaitSleeper