|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.LRUCachePolicy
org.jboss.resource.adapter.jdbc.PreparedStatementCache
public class PreparedStatementCache
LRU cache for PreparedStatements. When ps ages out, close it.
| Nested Class Summary | |
|---|---|
static class |
PreparedStatementCache.Key
|
| Nested classes/interfaces inherited from class org.jboss.util.LRUCachePolicy |
|---|
org.jboss.util.LRUCachePolicy.LRUCacheEntry, org.jboss.util.LRUCachePolicy.LRUList |
| Field Summary |
|---|
| Fields inherited from class org.jboss.util.LRUCachePolicy |
|---|
m_list, m_map, m_maxCapacity, m_minCapacity |
| Constructor Summary | |
|---|---|
PreparedStatementCache(int max)
|
|
| Method Summary | |
|---|---|
protected void |
ageOut(org.jboss.util.LRUCachePolicy.LRUCacheEntry entry)
|
| Methods inherited from class org.jboss.util.LRUCachePolicy |
|---|
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(org.jboss.util.LRUCachePolicy.LRUCacheEntry entry)
ageOut in class org.jboss.util.LRUCachePolicy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||