com.liferay.portal.cache.ehcache
Class PortalCacheCacheEventListener<K extends Serializable,V>
java.lang.Object
com.liferay.portal.cache.ehcache.PortalCacheCacheEventListener<K,V>
- All Implemented Interfaces:
- Cloneable, net.sf.ehcache.event.CacheEventListener
public class PortalCacheCacheEventListener<K extends Serializable,V>
- extends Object
- implements net.sf.ehcache.event.CacheEventListener
PortalCacheCacheEventListener
public PortalCacheCacheEventListener(CacheListener<K,V> cacheListener,
PortalCache<K,V> portalCache)
clone
public Object clone()
- Specified by:
clone
in interface net.sf.ehcache.event.CacheEventListener
- Overrides:
clone
in class Object
dispose
public void dispose()
- Specified by:
dispose
in interface net.sf.ehcache.event.CacheEventListener
notifyElementEvicted
public void notifyElementEvicted(net.sf.ehcache.Ehcache ehcache,
net.sf.ehcache.Element element)
- Specified by:
notifyElementEvicted
in interface net.sf.ehcache.event.CacheEventListener
notifyElementExpired
public void notifyElementExpired(net.sf.ehcache.Ehcache ehcache,
net.sf.ehcache.Element element)
- Specified by:
notifyElementExpired
in interface net.sf.ehcache.event.CacheEventListener
notifyElementPut
public void notifyElementPut(net.sf.ehcache.Ehcache ehcache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
- Specified by:
notifyElementPut
in interface net.sf.ehcache.event.CacheEventListener
- Throws:
net.sf.ehcache.CacheException
notifyElementRemoved
public void notifyElementRemoved(net.sf.ehcache.Ehcache ehcache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
- Specified by:
notifyElementRemoved
in interface net.sf.ehcache.event.CacheEventListener
- Throws:
net.sf.ehcache.CacheException
notifyElementUpdated
public void notifyElementUpdated(net.sf.ehcache.Ehcache ehcache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
- Specified by:
notifyElementUpdated
in interface net.sf.ehcache.event.CacheEventListener
- Throws:
net.sf.ehcache.CacheException
notifyRemoveAll
public void notifyRemoveAll(net.sf.ehcache.Ehcache ehcache)
- Specified by:
notifyRemoveAll
in interface net.sf.ehcache.event.CacheEventListener