当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
TxCache (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
org.jboss.aspects.versioned
Class TxCache
java.lang.Object
   org.jboss.util.LRUCachePolicy
org.jboss.util.LRUCachePolicy
       org.jboss.aspects.versioned.TxCache
org.jboss.aspects.versioned.TxCache
- All Implemented Interfaces: 
- org.jboss.util.CachePolicy
- public class TxCache- extends org.jboss.util.LRUCachePolicy
This is a LRU cache.  The TxCache itself is not transactional
 but any accesses to objects within the cache ARE transactional.
 
| Nested classes inherited from class org.jboss.util.LRUCachePolicy | 
| org.jboss.util.LRUCachePolicy.LRUCacheEntry, org.jboss.util.LRUCachePolicy.LRUList | 
 
 
| Fields inherited from class org.jboss.util.LRUCachePolicy | 
| m_list, m_map, m_maxCapacity, m_minCapacity | 
 
| Constructor Summary | 
| TxCache(int maxSize,
        long lockTimeout)
 | 
 
 
| Methods inherited from class org.jboss.util.LRUCachePolicy | 
| ageOut, cacheMiss, create, createCacheEntry, createList, destroy, flush, get, peek, remove, size, start, stop | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
lockTimeout
protected long lockTimeout
synchManager
protected LocalSynchronizationManager synchManager
versionManager
protected DistributedVersionManager versionManager
TxCache
public TxCache(int maxSize,
               long lockTimeout)
insert
public void insert(Object key,
                   Object obj)
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.