public class SqlRetryPolicy<V> extends Object
| Constructor and Description |
|---|
SqlRetryPolicy(RetryStrategy retryStrategy,
SqlTransactionContext sqlTransactionContext)
Implements a retry policy using the specified strategy and transient error detection algorithm.
|
SqlRetryPolicy(RetryStrategy retryStrategy,
TransientExceptionDetector transientExceptionDetector,
SqlTransactionContext sqlTransactionContext)
Implements a retry policy using the specified strategy and transient error detection algorithm.
|
public SqlRetryPolicy(RetryStrategy retryStrategy, SqlTransactionContext sqlTransactionContext)
retryStrategy - the strategy that implements retrypublic SqlRetryPolicy(RetryStrategy retryStrategy, TransientExceptionDetector transientExceptionDetector, SqlTransactionContext sqlTransactionContext)
retryStrategy - the strategy that implements retrytransientExceptionDetector - the transient error detection algorithmpublic V action(SqlCallable<V> callable) throws Exception
ExceptionCopyright © 2015. All rights reserved.