Package net.snowflake.client.pooling
Class SnowflakePooledConnection
- java.lang.Object
-
- net.snowflake.client.pooling.SnowflakePooledConnection
-
- All Implemented Interfaces:
PooledConnection
public class SnowflakePooledConnection extends Object implements PooledConnection
Snowflake implementation of pooled connection
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConnectionEventListener(ConnectionEventListener eventListener)voidaddStatementEventListener(StatementEventListener eventListener)voidclose()ConnectiongetConnection()voidremoveConnectionEventListener(ConnectionEventListener eventListener)voidremoveStatementEventListener(StatementEventListener eventListener)
-
-
-
Method Detail
-
getConnection
public Connection getConnection() throws SQLException
- Specified by:
getConnectionin interfacePooledConnection- Throws:
SQLException
-
addConnectionEventListener
public void addConnectionEventListener(ConnectionEventListener eventListener)
- Specified by:
addConnectionEventListenerin interfacePooledConnection
-
close
public void close() throws SQLException- Specified by:
closein interfacePooledConnection- Throws:
SQLException
-
removeConnectionEventListener
public void removeConnectionEventListener(ConnectionEventListener eventListener)
- Specified by:
removeConnectionEventListenerin interfacePooledConnection
-
addStatementEventListener
public void addStatementEventListener(StatementEventListener eventListener)
- Specified by:
addStatementEventListenerin interfacePooledConnection
-
removeStatementEventListener
public void removeStatementEventListener(StatementEventListener eventListener)
- Specified by:
removeStatementEventListenerin interfacePooledConnection
-
-