org.springframework.retry.backoff
Interface Sleeper
- All Known Implementing Classes:
- ObjectWaitSleeper
public interface Sleeper
Strategy interface for backoff policies to delegate the pausing of execution.
- Author:
- Dave Syer
Method Summary |
void |
sleep(long backOffPeriod)
Pause for the specified period using whatever means available. |
sleep
void sleep(long backOffPeriod)
throws java.lang.InterruptedException
- Pause for the specified period using whatever means available.
- Parameters:
backOffPeriod
-
- Throws:
java.lang.InterruptedException
Copyright © 2011 SpringSource. All Rights Reserved.