public abstract class CacheEventAdapter extends java.lang.Object implements CacheEventListener
| 构造器和说明 |
|---|
CacheEventAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
dispose()
即将关闭缓存
|
void |
notifyElementEvicted(FRCache cache,
Unity unity)
通知缓存元素被驱逐
|
void |
notifyElementExpired(FRCache cache,
Unity unity)
通知缓存元素到期
|
void |
notifyElementPut(FRCache cache,
Unity unity)
通知添加了缓存元素
|
void |
notifyElementRemoved(FRCache cache,
Unity unity)
通知移除了缓存元素
|
void |
notifyElementUpdated(FRCache cache,
Unity unity)
通知更新了缓存元素
|
void |
notifyRemoveAll(FRCache cache)
通知移除了所有缓存元素
|
public void dispose()
dispose 在接口中 CacheEventListenerpublic void notifyElementEvicted(FRCache cache, Unity unity)
notifyElementEvicted 在接口中 CacheEventListenercache - 缓存unity - 被驱逐的元素public void notifyElementExpired(FRCache cache, Unity unity)
notifyElementExpired 在接口中 CacheEventListenercache - 缓存unity - 到期的缓存元素public void notifyElementPut(FRCache cache, Unity unity) throws CacheException
notifyElementPut 在接口中 CacheEventListenercache - 缓存unity - 添加的元素CacheExceptionpublic void notifyElementRemoved(FRCache cache, Unity unity) throws CacheException
notifyElementRemoved 在接口中 CacheEventListenercache - 缓存unity - 移除的元素CacheExceptionpublic void notifyElementUpdated(FRCache cache, Unity unity) throws CacheException
notifyElementUpdated 在接口中 CacheEventListenercache - 缓存unity - 更新的缓存元素CacheExceptionpublic void notifyRemoveAll(FRCache cache)
notifyRemoveAll 在接口中 CacheEventListenercache - 缓存