org.jboss.jca.adapters.jdbc
Class PreparedStatementCache
java.lang.Object
org.jboss.jca.adapters.jdbc.util.LRUCachePolicy
org.jboss.jca.adapters.jdbc.PreparedStatementCache
public class PreparedStatementCache
- extends LRUCachePolicy
LRU cache for PreparedStatements. When ps ages out, close it.
- Version:
- $Revision: 73034 $
- Author:
- Bill Burke, Adrian Brock, Scott.Stark@jboss.org
| Methods inherited from class org.jboss.jca.adapters.jdbc.util.LRUCachePolicy |
cacheMiss, create, createCacheEntry, createList, createMap, destroy, flush, get, insert, peek, remove, size, start, stop |
PreparedStatementCache
public PreparedStatementCache(int max)
- Constructor
- Parameters:
max - The max value
ageOut
protected void ageOut(LRUCachePolicy.LRUCacheEntry entry)
- Age out an entry
- Overrides:
ageOut in class LRUCachePolicy
- Parameters:
entry - The entry
toString
public String toString()
-
- Overrides:
toString in class Object
Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)