站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 connector API Documentation 英文版文档

PreparedStatementCache (JBoss Connector API) - JBoss 3.2.7 connector API Documentation 英文版文档


org.jboss.resource.adapter.jdbc
Class PreparedStatementCache

java.lang.Object
  extended byorg.jboss.util.LRUCachePolicy
      extended byorg.jboss.resource.adapter.jdbc.PreparedStatementCache
All Implemented Interfaces:
org.jboss.util.CachePolicy

public class PreparedStatementCache
extends org.jboss.util.LRUCachePolicy

LRU cache for PreparedStatements. When ps ages out, close it. Created: Mon Aug 12 21:53:02 2002

Version:
$Revision: 1.1.2.3 $
Author:
Bill Burke

Nested Class Summary
 
Nested classes 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

PreparedStatementCache

public PreparedStatementCache(int max)
Method Detail

ageOut

protected void ageOut(org.jboss.util.LRUCachePolicy.LRUCacheEntry entry)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.