站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.jboss.util.LRUCachePolicy
      extended byorg.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 Class Summary
 
Nested classes inherited from class org.jboss.util.LRUCachePolicy
org.jboss.util.LRUCachePolicy.LRUCacheEntry, org.jboss.util.LRUCachePolicy.LRUList
 
Field Summary
protected  long lockTimeout
           
protected  LocalSynchronizationManager synchManager
           
protected  DistributedVersionManager versionManager
           
 
Fields inherited from class org.jboss.util.LRUCachePolicy
m_list, m_map, m_maxCapacity, m_minCapacity
 
Constructor Summary
TxCache(int maxSize, long lockTimeout)
           
 
Method Summary
 void insert(Object key, Object obj)
           
 
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
 

Field Detail

lockTimeout

protected long lockTimeout

synchManager

protected LocalSynchronizationManager synchManager

versionManager

protected DistributedVersionManager versionManager
Constructor Detail

TxCache

public TxCache(int maxSize,
               long lockTimeout)
Method Detail

insert

public void insert(Object key,
                   Object obj)


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