|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.adapters.jdbc.PreparedStatementCache
public class PreparedStatementCache

Cache for PreparedStatements. When ps ages out, close it.
| Nested Class Summary | |
|---|---|
static class |
PreparedStatementCache.Key
Key class |
| Constructor Summary | |
|---|---|
PreparedStatementCache(int max,
JdbcStatisticsPlugin stats)
Constructor |
|
| Method Summary | |
|---|---|
CachedPreparedStatement |
get(PreparedStatementCache.Key key)
Get |
void |
put(PreparedStatementCache.Key key,
CachedPreparedStatement value)
Put |
int |
size()
Size |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PreparedStatementCache(int max,
JdbcStatisticsPlugin stats)
max - The max valuestats - The statistics plugin| Method Detail |
|---|
public CachedPreparedStatement get(PreparedStatementCache.Key key)
key - The key
public void put(PreparedStatementCache.Key key,
CachedPreparedStatement value)
key - The keyvalue - The valuepublic int size()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||