|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.LRUCachePolicy (src)
org.jboss.resource.adapter.jdbc.PreparedStatementCache
LRU cache for PreparedStatements. When ps ages out, close it if its not in use.
Nested Class Summary |
Nested classes inherited from class org.jboss.util.LRUCachePolicy (src) |
LRUCachePolicy.LRUCacheEntry (src) , LRUCachePolicy.LRUList (src) |
Field Summary |
Fields inherited from class org.jboss.util.LRUCachePolicy (src) |
m_list, m_map, m_maxCapacity, m_minCapacity |
Constructor Summary | |
PreparedStatementCache(int max)
|
Method Summary | |
protected void |
ageOut(LRUCachePolicy.LRUCacheEntry (src) entry)
Callback method called when the cache algorithm ages out of the cache the given entry. |
Methods inherited from class org.jboss.util.LRUCachePolicy (src) |
cacheMiss, create, createCacheEntry, createList, destroy, flush, get, insert, peek, remove, size, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PreparedStatementCache(int max)
Method Detail |
protected void ageOut(LRUCachePolicy.LRUCacheEntry (src) entry)
LRUCachePolicy (src)
ageOut
in class LRUCachePolicy (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |