Uses of Class
com.jolbox.bonecp.ConnectionHandle

Packages that use ConnectionHandle
com.jolbox.bonecp The core package for the BoneCP connection pool. 
com.jolbox.bonecp.hooks Support for event notification on a connection state. 
 

Uses of ConnectionHandle in com.jolbox.bonecp
 

Methods in com.jolbox.bonecp with parameters of type ConnectionHandle
 boolean BoneCP.isConnectionHandleAlive(ConnectionHandle connection)
          Sends a dummy statement to the server to keep the connection alive
 

Constructors in com.jolbox.bonecp with parameters of type ConnectionHandle
CallableStatementHandle(java.sql.CallableStatement internalCallableStatement, java.lang.String sql, ConnectionHandle connectionHandle, java.lang.String cacheKey, IStatementCache cache)
          CallableStatement constructor
CloseThreadMonitor(java.lang.Thread threadToMonitor, ConnectionHandle connectionHandle, java.lang.String stackTrace, long closeConnectionWatchTimeout)
           
PreparedStatementHandle(java.sql.PreparedStatement internalPreparedStatement, java.lang.String sql, ConnectionHandle connectionHandle, java.lang.String cacheKey, IStatementCache cache)
          PreparedStatement Wrapper constructor.
StatementHandle(java.sql.Statement internalStatement, ConnectionHandle connectionHandle, boolean logStatementsEnabled)
          Constructor for empty statement (created via connection.createStatement)
StatementHandle(java.sql.Statement internalStatement, java.lang.String sql, IStatementCache cache, ConnectionHandle connectionHandle, java.lang.String cacheKey, boolean logStatementsEnabled)
          Constructor to statement handle wrapper.
 

Constructor parameters in com.jolbox.bonecp with type arguments of type ConnectionHandle
ConnectionReleaseHelperThread(java.util.concurrent.BlockingQueue<ConnectionHandle> queue, BoneCP pool)
          Helper Thread constructor.
 

Uses of ConnectionHandle in com.jolbox.bonecp.hooks
 

Methods in com.jolbox.bonecp.hooks with parameters of type ConnectionHandle
 void ConnectionHook.onAcquire(ConnectionHandle connection)
          Called upon getting a new connection from the JDBC driver (and prior to inserting into the pool).
 void AbstractConnectionHook.onAcquire(ConnectionHandle connection)
           
 void ConnectionHook.onAfterStatementExecute(ConnectionHandle conn, StatementHandle statement, java.lang.String sql, java.util.Map<java.lang.Object,java.lang.Object> params)
          Called right after a statement has executed.
 void AbstractConnectionHook.onAfterStatementExecute(ConnectionHandle conn, StatementHandle statement, java.lang.String sql, java.util.Map<java.lang.Object,java.lang.Object> params)
           
 void ConnectionHook.onBeforeStatementExecute(ConnectionHandle conn, StatementHandle statement, java.lang.String sql, java.util.Map<java.lang.Object,java.lang.Object> params)
          Called before a statement is about to execute.
 void AbstractConnectionHook.onBeforeStatementExecute(ConnectionHandle conn, StatementHandle statement, java.lang.String sql, java.util.Map<java.lang.Object,java.lang.Object> params)
           
 void ConnectionHook.onCheckIn(ConnectionHandle connection)
          Called when the connection is about to be returned to the pool.
 void AbstractConnectionHook.onCheckIn(ConnectionHandle connection)
           
 void ConnectionHook.onCheckOut(ConnectionHandle connection)
          Called when the connection is extracted from the pool and about to be given to the application.
 void AbstractConnectionHook.onCheckOut(ConnectionHandle connection)
           
 boolean ConnectionHook.onConnectionException(ConnectionHandle connection, java.lang.String state, java.lang.Throwable t)
          Called whenever an exception on a connection occurs.
 boolean AbstractConnectionHook.onConnectionException(ConnectionHandle connection, java.lang.String state, java.lang.Throwable t)
           
 void ConnectionHook.onDestroy(ConnectionHandle connection)
          Called when the connection is about to be completely removed from the pool.
 void AbstractConnectionHook.onDestroy(ConnectionHandle connection)
           
 void ConnectionHook.onQueryExecuteTimeLimitExceeded(ConnectionHandle conn, java.sql.Statement statement, java.lang.String sql, java.util.Map<java.lang.Object,java.lang.Object> logParams)
          Called when a query execute time limit has been set and an executing query took longer to than the limit to return control to the application.
 void AbstractConnectionHook.onQueryExecuteTimeLimitExceeded(ConnectionHandle handle, java.sql.Statement statement, java.lang.String sql, java.util.Map<java.lang.Object,java.lang.Object> logParams)
           
 



Copyright © 2009-2011 JolBox. All Rights Reserved.