Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.resource.adapter » jdbc » [javadoc | source]
org.jboss.resource.adapter.jdbc
public class: PreparedStatementCache [javadoc | source]
java.lang.Object
   org.jboss.util.LRUCachePolicy
      org.jboss.resource.adapter.jdbc.PreparedStatementCache

All Implemented Interfaces:
    CachePolicy

LRU cache for PreparedStatements. When ps ages out, close it.
Nested Class Summary:
public static class  PreparedStatementCache.Key   
Fields inherited from org.jboss.util.LRUCachePolicy:
m_map,  m_list,  m_maxCapacity,  m_minCapacity
Constructor:
 public PreparedStatementCache(int max) 
Method from org.jboss.resource.adapter.jdbc.PreparedStatementCache Summary:
ageOut,   toString
Methods from org.jboss.util.LRUCachePolicy:
ageOut,   cacheMiss,   create,   createCacheEntry,   createList,   destroy,   flush,   get,   insert,   peek,   remove,   size,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.resource.adapter.jdbc.PreparedStatementCache Detail:
 protected  void ageOut(LRUCachePolicy.LRUCacheEntry entry) 
 public String toString()