com.seeyon.ctp.common.cache
类 ThreadCacheFactory

java.lang.Object
  继承者 com.seeyon.ctp.common.cache.AbstractCacheFactory
      继承者 com.seeyon.ctp.common.cache.ThreadCacheFactory
所有已实现的接口:
CacheAccessable

public class ThreadCacheFactory
extends com.seeyon.ctp.common.cache.AbstractCacheFactory
implements CacheAccessable

线程缓存管理工厂, 管理的缓存只在当前线程有效,线程结束后缓存消亡。

从以下版本开始:
3.20
作者:
wangwy
另请参见:
CacheAccessable

字段摘要
 
从类 com.seeyon.ctp.common.cache.AbstractCacheFactory 继承的字段
DEFAULT_CONFIG, group, pool
 
构造方法摘要
protected ThreadCacheFactory(java.lang.String group)
           
 
方法摘要
static CacheAccessable getInstance(java.lang.Class group)
          取得指定组的缓存工厂的实例。
static CacheAccessable getInstance(java.lang.String group)
          取得指定组的缓存工厂的实例。
static void reset()
          重置,清除所有缓存。
 
从类 com.seeyon.ctp.common.cache.AbstractCacheFactory 继承的方法
clear, createLinkedMap, createMap, createMap, createObject, createSet, getMap, getObject, getSet, isExist, lookup, register
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 com.seeyon.ctp.common.cache.CacheAccessable 继承的方法
createLinkedMap, createMap, createMap, createObject, createSet, getMap, getObject, getSet, isExist, lookup
 

构造方法详细信息

ThreadCacheFactory

protected ThreadCacheFactory(java.lang.String group)
方法详细信息

getInstance

public static final CacheAccessable getInstance(java.lang.String group)
取得指定组的缓存工厂的实例。

参数:
group - 缓存组
返回:
缓存工厂的实例。

getInstance

public static final CacheAccessable getInstance(java.lang.Class group)
取得指定组的缓存工厂的实例。

参数:
group - 缓存组
返回:
缓存工厂的实例。

reset

public static final void reset()
重置,清除所有缓存。