| Package | Description |
|---|---|
| com.avaje.ebeaninternal.server.lib.sql |
Enhanced JDBC objects and connection pool.
|
| Modifier and Type | Field and Description |
|---|---|
protected PooledConnection |
ExtendedStatement.pooledConnection
The pooled connection this Statement belongs to.
|
| Modifier and Type | Method and Description |
|---|---|
protected PooledConnection |
DataSourcePool.createConnectionForQueue(int connId)
Grow the pool by creating a new connection.
|
PooledConnection |
DataSourcePool.getPooledConnection()
Get a connection from the pool.
|
PooledConnection |
PooledConnectionQueue.getPooledConnection() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DataSourcePool.reportClosingConnection(PooledConnection pooledConnection)
Collect statistics of a connection that is fully closing
|
protected void |
PooledConnectionQueue.reportClosingConnection(PooledConnection pooledConnection)
Collect statistics of a connection that is fully closing
|
protected void |
DataSourcePool.returnConnection(PooledConnection pooledConnection)
Called by the PooledConnection themselves, returning themselves to the
pool when they have been finished with.
|
protected void |
DataSourcePool.returnConnectionForceClose(PooledConnection pooledConnection)
This is a bad connection and must be removed from the pool's busy list and fully closed.
|
protected void |
PooledConnectionQueue.returnPooledConnection(PooledConnection c,
boolean forceClose)
Return a PooledConnection.
|
protected boolean |
DataSourcePool.validateConnection(PooledConnection conn)
Make sure the connection is still ok to use.
|
| Constructor and Description |
|---|
ExtendedPreparedStatement(PooledConnection pooledConnection,
PreparedStatement pstmt,
String sql,
String cacheKey)
Create a wrapped PreparedStatement that can be cached.
|
ExtendedStatement(PooledConnection pooledConnection,
PreparedStatement pstmt)
Create the ExtendedStatement for a given pooledConnection.
|
Copyright © 2014. All Rights Reserved.