Package io.trino.plugin.jdbc
Class RetryingConnectionFactory
- java.lang.Object
-
- io.trino.plugin.jdbc.RetryingConnectionFactory
-
- All Implemented Interfaces:
ConnectionFactory,AutoCloseable
public class RetryingConnectionFactory extends Object implements ConnectionFactory
-
-
Constructor Summary
Constructors Constructor Description RetryingConnectionFactory(ConnectionFactory delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ConnectionopenConnection(ConnectorSession session)
-
-
-
Constructor Detail
-
RetryingConnectionFactory
public RetryingConnectionFactory(ConnectionFactory delegate)
-
-
Method Detail
-
openConnection
public Connection openConnection(ConnectorSession session) throws SQLException
- Specified by:
openConnectionin interfaceConnectionFactory- Throws:
SQLException
-
close
public void close() throws SQLException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceConnectionFactory- Throws:
SQLException
-
-