| Package | Description |
|---|---|
| com.jolbox.bonecp |
The core package for the BoneCP connection pool.
|
| com.jolbox.bonecp.hooks |
Support for event notification on a connection state.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CallableStatementHandle
Wrapper around CallableStatement.
|
class |
PreparedStatementHandle
Wrapper around JDBC PreparedStatement.
|
| Modifier and Type | Method and Description |
|---|---|
StatementHandle |
StatementCache.get(String key)
Retrieves the cached statement identified by the given key
|
StatementHandle |
IStatementCache.get(String sql)
Retrieves the cached statement identified by the given key
|
StatementHandle |
StatementCache.get(String sql,
int autoGeneratedKeys) |
StatementHandle |
IStatementCache.get(String sql,
int autoGeneratedKeys)
Retrieves the cached statement identified by the given key
|
StatementHandle |
StatementCache.get(String sql,
int[] columnIndexes) |
StatementHandle |
IStatementCache.get(String sql,
int[] columnIndexes)
Retrieves the cached statement identified by the given key
|
StatementHandle |
StatementCache.get(String sql,
int resultSetType,
int resultSetConcurrency) |
StatementHandle |
IStatementCache.get(String sql,
int resultSetType,
int resultSetConcurrency)
Retrieves the cached statement identified by the given key
|
StatementHandle |
StatementCache.get(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
StatementHandle |
IStatementCache.get(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Retrieves the cached statement identified by the given key
|
StatementHandle |
StatementCache.get(String sql,
String[] columnNames) |
StatementHandle |
IStatementCache.get(String sql,
String[] columnNames)
Retrieves the cached statement identified by the given key
|
| Modifier and Type | Method and Description |
|---|---|
void |
StatementCache.putIfAbsent(String key,
StatementHandle handle) |
void |
IStatementCache.putIfAbsent(String cacheKey,
StatementHandle statementHandle)
Wrapper for map putIfAbsent.
|
protected void |
ConnectionHandle.untrackStatement(StatementHandle statement)
Stop tracking the given statement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionHook.onAfterStatementExecute(ConnectionHandle conn,
StatementHandle statement,
String sql,
Map<Object,Object> params)
Called right after a statement has executed.
|
void |
AbstractConnectionHook.onAfterStatementExecute(ConnectionHandle conn,
StatementHandle statement,
String sql,
Map<Object,Object> params) |
void |
ConnectionHook.onBeforeStatementExecute(ConnectionHandle conn,
StatementHandle statement,
String sql,
Map<Object,Object> params)
Called before a statement is about to execute.
|
void |
AbstractConnectionHook.onBeforeStatementExecute(ConnectionHandle conn,
StatementHandle statement,
String sql,
Map<Object,Object> params) |
Copyright © 2009-2013 JolBox. All Rights Reserved.