org.springframework.batch.retry.backoff
Class ObjectWaitSleeper
java.lang.Object
org.springframework.batch.retry.backoff.ObjectWaitSleeper
- All Implemented Interfaces:
- Sleeper
public class ObjectWaitSleeper
- extends Object
- implements Sleeper
Simple Sleeper
implementation that just waits on a local Object.
- Author:
- Dave Syer
Method Summary |
void |
sleep(long backOffPeriod)
Pause for the specified period using whatever means available. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectWaitSleeper
public ObjectWaitSleeper()
sleep
public void sleep(long backOffPeriod)
throws InterruptedException
- Description copied from interface:
Sleeper
- Pause for the specified period using whatever means available.
- Specified by:
sleep
in interface Sleeper
- Throws:
InterruptedException
Copyright © 2009 SpringSource. All Rights Reserved.