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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsleep(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:SleeperPause for the specified period using whatever means available.- Specified by:
sleepin interfaceSleeper- Parameters:
backOffPeriod- the backoff period- Throws:
InterruptedException- the exception when interrupted
-
ThreadWaitSleeper