org.springframework.batch.retry
Interface RecoveryCallback<T>


public interface RecoveryCallback<T>

Callback for stateful retry after all tries are exhausted.

Since:
1.1
Author:
Dave Syer

Method Summary
 T recover(RetryContext context)
           
 

Method Detail

recover

T recover(RetryContext context)
          throws Exception
Parameters:
context - the current retry context
Returns:
an Object that can be used to replace the callback result that failed
Throws:
Exception


Copyright © 2013 SpringSource. All Rights Reserved.