|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.jdbc.util.LRUCache
org.enhydra.jdbc.standard.PreparedStatementCache
Implementation of LRUCache to handle prepared statements TODO: Override put to check type
Field Summary |
Fields inherited from class org.enhydra.jdbc.util.LRUCache |
log |
Constructor Summary | |
PreparedStatementCache(int maxSize)
Constructor |
Method Summary | |
protected void |
cleanupObject(java.lang.Object obj)
Overriden to close the statement |
Methods inherited from class org.enhydra.jdbc.util.LRUCache |
cacheSize, cleanupAll, get, LRUSize, put, remove, resize, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PreparedStatementCache(int maxSize)
Method Detail |
protected void cleanupObject(java.lang.Object obj)
cleanupObject
in class LRUCache
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |