| Package | Description |
|---|---|
| com.avaje.ebeaninternal.server.lib.sql |
Enhanced JDBC objects and connection pool.
|
| Modifier and Type | Method and Description |
|---|---|
ExtendedPreparedStatement |
PstmtCache.get(Object key)
additionally maintains hit and miss statistics.
|
ExtendedPreparedStatement |
PstmtCache.put(String key,
ExtendedPreparedStatement value)
additionally maintains put counter statistics.
|
ExtendedPreparedStatement |
PstmtCache.remove(Object key)
additionally maintains hit and miss statistics.
|
| Modifier and Type | Method and Description |
|---|---|
ExtendedPreparedStatement |
PstmtCache.put(String key,
ExtendedPreparedStatement value)
additionally maintains put counter statistics.
|
protected void |
PooledConnection.returnPreparedStatement(ExtendedPreparedStatement pstmt)
Return a PreparedStatement back into the cache.
|
boolean |
PstmtCache.returnStatement(ExtendedPreparedStatement pstmt)
Try to add the returning statement to the cache.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
PstmtCache.removeEldestEntry(Map.Entry<String,ExtendedPreparedStatement> eldest)
will check to see if we need to remove entries and
if so call the cacheCleanup.cleanupEldestLRUCacheEntry() if
one has been set.
|
Copyright © 2014. All Rights Reserved.