Package io.trino.plugin.jdbc
Class RetryingConnectionFactory
java.lang.Object
io.trino.plugin.jdbc.RetryingConnectionFactory
- All Implemented Interfaces:
ConnectionFactory,AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionRetryingConnectionFactory(StatisticsAwareConnectionFactory delegate, RetryingConnectionFactory.RetryStrategy retryStrategy) -
Method Summary
-
Constructor Details
-
RetryingConnectionFactory
@Inject public RetryingConnectionFactory(StatisticsAwareConnectionFactory delegate, RetryingConnectionFactory.RetryStrategy retryStrategy)
-
-
Method Details
-
openConnection
- Specified by:
openConnectionin interfaceConnectionFactory- Throws:
SQLException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceConnectionFactory- Throws:
SQLException
-