org.springframework.batch.retry.backoff
Class NoBackOffPolicy
java.lang.Object
org.springframework.batch.retry.backoff.StatelessBackOffPolicy
org.springframework.batch.retry.backoff.NoBackOffPolicy
- All Implemented Interfaces:
- BackOffPolicy
public class NoBackOffPolicy
- extends StatelessBackOffPolicy
Implementation of BackOffPolicy
that performs a no-op and as such all
retry operation in a given set proceed one after the other with no pause.
- Since:
- 2.1
- Author:
- Rob Harrop
Method Summary |
protected void |
doBackOff()
Sub-classes should implement this method to perform the actual back off. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoBackOffPolicy
public NoBackOffPolicy()
doBackOff
protected void doBackOff()
throws BackOffInterruptedException
- Description copied from class:
StatelessBackOffPolicy
- Sub-classes should implement this method to perform the actual back off.
- Specified by:
doBackOff
in class StatelessBackOffPolicy
- Throws:
BackOffInterruptedException
Copyright © 2009 SpringSource. All Rights Reserved.