public class SyncCacheEventListener
extends net.sf.ehcache.event.CacheEventListenerAdapter
| 构造器和说明 |
|---|
SyncCacheEventListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
SyncCache |
getSyncCache() |
void |
notifyElementEvicted(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyElementPut(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyElementRemoved(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyElementUpdated(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyRemoveAll(net.sf.ehcache.Ehcache cache) |
public SyncCache getSyncCache()
public void notifyElementRemoved(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementRemoved 在接口中 net.sf.ehcache.event.CacheEventListenernotifyElementRemoved 在类中 net.sf.ehcache.event.CacheEventListenerAdapternet.sf.ehcache.CacheExceptionpublic void notifyElementPut(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementPut 在接口中 net.sf.ehcache.event.CacheEventListenernotifyElementPut 在类中 net.sf.ehcache.event.CacheEventListenerAdapternet.sf.ehcache.CacheExceptionpublic void notifyElementUpdated(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementUpdated 在接口中 net.sf.ehcache.event.CacheEventListenernotifyElementUpdated 在类中 net.sf.ehcache.event.CacheEventListenerAdapternet.sf.ehcache.CacheExceptionpublic void notifyElementEvicted(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
notifyElementEvicted 在接口中 net.sf.ehcache.event.CacheEventListenernotifyElementEvicted 在类中 net.sf.ehcache.event.CacheEventListenerAdapterpublic void notifyRemoveAll(net.sf.ehcache.Ehcache cache)
notifyRemoveAll 在接口中 net.sf.ehcache.event.CacheEventListenernotifyRemoveAll 在类中 net.sf.ehcache.event.CacheEventListenerAdapterCopyright © 2022. All rights reserved.