程序包 | 说明 |
---|---|
com.fr.cache | |
com.fr.file |
与文件有关的工具类
|
限定符和类型 | 字段和说明 |
---|---|
protected FRCache |
MemoryStore.cache |
限定符和类型 | 方法和说明 |
---|---|
static MemoryStore |
MemoryStore.create(FRCache cache)
工厂方法,通过指定的缓存策略生成相应的数据存储器
|
void |
CacheEventListener.notifyElementEvicted(FRCache cache,
Unity unity)
通知缓存元素被驱逐
|
void |
CacheEventAdapter.notifyElementEvicted(FRCache cache,
Unity unity)
通知缓存元素被驱逐
|
void |
CacheEventListener.notifyElementExpired(FRCache cache,
Unity unity)
通知缓存元素到期
|
void |
CacheEventAdapter.notifyElementExpired(FRCache cache,
Unity unity)
通知缓存元素到期
|
void |
CacheEventListener.notifyElementPut(FRCache cache,
Unity unity)
通知添加了缓存元素
|
void |
CacheEventAdapter.notifyElementPut(FRCache cache,
Unity unity)
通知添加了缓存元素
|
void |
CacheEventListener.notifyElementRemoved(FRCache cache,
Unity unity)
通知移除了缓存元素
|
void |
CacheEventAdapter.notifyElementRemoved(FRCache cache,
Unity unity)
通知移除了缓存元素
|
void |
CacheEventListener.notifyElementUpdated(FRCache cache,
Unity unity)
通知更新了缓存元素
|
void |
CacheEventAdapter.notifyElementUpdated(FRCache cache,
Unity unity)
通知更新了缓存元素
|
void |
CacheEventListener.notifyRemoveAll(FRCache cache)
通知移除了所有缓存元素
|
void |
CacheEventAdapter.notifyRemoveAll(FRCache cache)
通知移除了所有缓存元素
|
构造器和说明 |
---|
FifoMemoryStore(FRCache cache) |
LfuMemoryStore(FRCache cache) |
LruMemoryStore(FRCache cache)
生成优先移除使用最少策略的数据存储器
|
MemoryStore(FRCache cache)
强制该类的具体实现类必须要有一个带
FRCache 参数的构造函数 |
RegisteredEventListeners(FRCache cache)
Constructs a new notification service
|
限定符和类型 | 方法和说明 |
---|---|
FRCache |
CacheManagerProvider.createDBCache()
生成缓存对象
|
FRCache |
CacheManager.createDBCache()
生成缓存对象
|