Package org.springframework.batch.retry.backoff

Infrastructure implementations of retry backoff concerns.

See:
          Description

Interface Summary
BackOffContext  
BackOffPolicy Strategy interface to control back off between attempts in a single retry operation.
Sleeper Strategy interface for backoff policies to delegate the pausing of execution.
 

Class Summary
ExponentialBackOffPolicy Implementation of BackOffPolicy that increases the back off period for each retry attempt in a given set using the exponential function.
FixedBackOffPolicy Implementation of BackOffPolicy that pauses for a fixed period of time before continuing.
NoBackOffPolicy 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.
ObjectWaitSleeper Simple Sleeper implementation that just waits on a local Object.
StatelessBackOffPolicy Simple base class for BackOffPolicy implementations that maintain no state across invocations.
 

Exception Summary
BackOffInterruptedException Exception class signifiying that an attempt to back off using a BackOffPolicy was interrupted, most likely by an InterruptedException during a call to Thread.sleep(long).
 

Package org.springframework.batch.retry.backoff Description

Infrastructure implementations of retry backoff concerns.



Copyright © 2009 SpringSource. All Rights Reserved.