Package com.liferay.portal.kernel.cache
Interface PortalCacheListener<K extends Serializable,V>
public interface PortalCacheListener<K extends Serializable,V>
- Author:
- Edward Han, Shuyang Zhou
-
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voidnotifyEntryEvicted(PortalCache<K, V> portalCache, K key, V value, int timeToLive) voidnotifyEntryExpired(PortalCache<K, V> portalCache, K key, V value, int timeToLive) voidnotifyEntryPut(PortalCache<K, V> portalCache, K key, V value, int timeToLive) voidnotifyEntryRemoved(PortalCache<K, V> portalCache, K key, V value, int timeToLive) voidnotifyEntryUpdated(PortalCache<K, V> portalCache, K key, V value, int timeToLive) voidnotifyRemoveAll(PortalCache<K, V> portalCache)
-
Method Details
-
dispose
void dispose() -
notifyEntryEvicted
void notifyEntryEvicted(PortalCache<K, V> portalCache, K key, V value, int timeToLive) throws PortalCacheException- Throws:
PortalCacheException
-
notifyEntryExpired
void notifyEntryExpired(PortalCache<K, V> portalCache, K key, V value, int timeToLive) throws PortalCacheException- Throws:
PortalCacheException
-
notifyEntryPut
void notifyEntryPut(PortalCache<K, V> portalCache, K key, V value, int timeToLive) throws PortalCacheException- Throws:
PortalCacheException
-
notifyEntryRemoved
void notifyEntryRemoved(PortalCache<K, V> portalCache, K key, V value, int timeToLive) throws PortalCacheException- Throws:
PortalCacheException
-
notifyEntryUpdated
void notifyEntryUpdated(PortalCache<K, V> portalCache, K key, V value, int timeToLive) throws PortalCacheException- Throws:
PortalCacheException
-
notifyRemoveAll
- Throws:
PortalCacheException
-