Package io.agroal.api.transaction
Interface TransactionIntegration.ResourceRecoveryFactory
- Enclosing interface:
TransactionIntegration
public static interface TransactionIntegration.ResourceRecoveryFactory
This interface is implemented by the connection factory so that it can provide recovery resources to the transaction layer.
-
Method Summary
Modifier and TypeMethodDescriptionThe transaction layer can call this method to obtain one connection used for recovery of incomplete transactions.booleanThe transaction layer can call this method to check if recovery is possible.
-
Method Details
-
isRecoverable
boolean isRecoverable()The transaction layer can call this method to check if recovery is possible. -
getRecoveryConnection
The transaction layer can call this method to obtain one connection used for recovery of incomplete transactions.- Throws:
SQLException
-