Liferay 7.0-ce-b4

com.liferay.portal.kernel.cache
Interface PortalCacheListener<K extends Serializable,V>


public interface PortalCacheListener<K extends Serializable,V>


Method Summary
 void dispose()
           
 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)
           
 

Method Detail

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

void notifyRemoveAll(PortalCache<K,V> portalCache)
                     throws PortalCacheException
Throws:
PortalCacheException

Liferay 7.0-ce-b4