com.liferay.portal.cache.ehcache
Class EhcacheCacheListenerAdapter<K extends Serializable,V>
java.lang.Object
com.liferay.portal.cache.ehcache.EhcacheCacheListenerAdapter<K,V>
- All Implemented Interfaces:
- CacheListener<K,V>
- Direct Known Subclasses:
- EhcacheCacheReplicatorAdapter
public class EhcacheCacheListenerAdapter<K extends Serializable,V>
- extends Object
- implements CacheListener<K,V>
|
Method Summary |
void |
notifyEntryEvicted(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive)
|
void |
notifyEntryExpired(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive)
|
void |
notifyEntryPut(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive)
|
void |
notifyEntryRemoved(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive)
|
void |
notifyEntryUpdated(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive)
|
void |
notifyRemoveAll(PortalCache<K,V> portalCache)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhcacheCacheListenerAdapter
public EhcacheCacheListenerAdapter(net.sf.ehcache.event.CacheEventListener cacheEventListener)
notifyEntryEvicted
public void notifyEntryEvicted(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive)
throws PortalCacheException
- Specified by:
notifyEntryEvicted in interface CacheListener<K extends Serializable,V>
- Throws:
PortalCacheException
notifyEntryExpired
public void notifyEntryExpired(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive)
throws PortalCacheException
- Specified by:
notifyEntryExpired in interface CacheListener<K extends Serializable,V>
- Throws:
PortalCacheException
notifyEntryPut
public void notifyEntryPut(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive)
throws PortalCacheException
- Specified by:
notifyEntryPut in interface CacheListener<K extends Serializable,V>
- Throws:
PortalCacheException
notifyEntryRemoved
public void notifyEntryRemoved(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive)
throws PortalCacheException
- Specified by:
notifyEntryRemoved in interface CacheListener<K extends Serializable,V>
- Throws:
PortalCacheException
notifyEntryUpdated
public void notifyEntryUpdated(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive)
throws PortalCacheException
- Specified by:
notifyEntryUpdated in interface CacheListener<K extends Serializable,V>
- Throws:
PortalCacheException
notifyRemoveAll
public void notifyRemoveAll(PortalCache<K,V> portalCache)
throws PortalCacheException
- Specified by:
notifyRemoveAll in interface CacheListener<K extends Serializable,V>
- Throws:
PortalCacheException