org.springframework.batch.retry
Interface RetryOperations

All Known Implementing Classes:
RetryTemplate

public interface RetryOperations

Defines the basic set of operations implemented by RetryOperations to execute operations with configurable retry behaviour.

Author:
Rob Harrop, Dave Syer

Method Summary
 Object execute(RetryCallback retryCallback)
          Execute the supplied RetryCallback with the configured retry semantics.
 

Method Detail

execute

Object execute(RetryCallback retryCallback)
               throws Exception
Execute the supplied RetryCallback with the configured retry semantics. See implementations for configuration details.

Returns:
the value returned by the RetryCallback upon successful invocation.
Throws:
Exception - any Exception raised by the RetryCallback upon unsuccessful retry.


Copyright © 2009 SpringSource. All Rights Reserved.