Interface SQLRecoveryStrategy
-
- All Known Implementing Classes:
DefaultSQLRecoveryStrategy
public interface SQLRecoveryStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.time.DurationcalculateBackoffDuration(int numberOfIterations)booleancanRecover(JDBCInterceptorContext ctx)booleanisRecoverable(java.sql.SQLException e)
-
-
-
Method Detail
-
calculateBackoffDuration
java.time.Duration calculateBackoffDuration(int numberOfIterations)
-
isRecoverable
boolean isRecoverable(java.sql.SQLException e)
-
canRecover
boolean canRecover(JDBCInterceptorContext ctx)
-
-