Class SQLitePooledConnection

  • All Implemented Interfaces:
    javax.sql.PooledConnection

    public class SQLitePooledConnection
    extends JDBC4PooledConnection
    implements javax.sql.PooledConnection
    • Field Detail

      • physicalConn

        protected java.sql.Connection physicalConn
      • handleConn

        protected volatile java.sql.Connection handleConn
      • listeners

        protected java.util.List<javax.sql.ConnectionEventListener> listeners
    • Constructor Detail

      • SQLitePooledConnection

        protected SQLitePooledConnection​(java.sql.Connection physicalConn)
        Constructor.
        Parameters:
        physicalConn - The physical Connection.
    • Method Detail

      • close

        public void close()
                   throws java.sql.SQLException
        Specified by:
        close in interface javax.sql.PooledConnection
        Throws:
        java.sql.SQLException
        See Also:
        PooledConnection.close()
      • getConnection

        public java.sql.Connection getConnection()
                                          throws java.sql.SQLException
        Specified by:
        getConnection in interface javax.sql.PooledConnection
        Throws:
        java.sql.SQLException
        See Also:
        PooledConnection.getConnection()
      • addConnectionEventListener

        public void addConnectionEventListener​(javax.sql.ConnectionEventListener listener)
        Specified by:
        addConnectionEventListener in interface javax.sql.PooledConnection
        See Also:
        PooledConnection.addConnectionEventListener(javax.sql.ConnectionEventListener)
      • removeConnectionEventListener

        public void removeConnectionEventListener​(javax.sql.ConnectionEventListener listener)
        Specified by:
        removeConnectionEventListener in interface javax.sql.PooledConnection
        See Also:
        PooledConnection.removeConnectionEventListener(javax.sql.ConnectionEventListener)