org.springframework.batch.retry.backoff
Class NoBackOffPolicy

java.lang.Object
  extended by org.springframework.batch.retry.backoff.StatelessBackOffPolicy
      extended by 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

Constructor Summary
NoBackOffPolicy()
           
 
Method Summary
protected  void doBackOff()
          Sub-classes should implement this method to perform the actual back off.
 
Methods inherited from class org.springframework.batch.retry.backoff.StatelessBackOffPolicy
backOff, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoBackOffPolicy

public NoBackOffPolicy()
Method Detail

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.