Class AggregatedPortalCacheListener<K extends Serializable,V>

java.lang.Object
com.liferay.portal.cache.AggregatedPortalCacheListener<K,V>
All Implemented Interfaces:
com.liferay.portal.kernel.cache.PortalCacheListener<K,V>

public class AggregatedPortalCacheListener<K extends Serializable,V> extends Object implements com.liferay.portal.kernel.cache.PortalCacheListener<K,V>
  • Constructor Details

    • AggregatedPortalCacheListener

      public AggregatedPortalCacheListener()
  • Method Details

    • addPortalCacheListener

      public void addPortalCacheListener(com.liferay.portal.kernel.cache.PortalCacheListener<K,V> portalCacheListener)
    • addPortalCacheListener

      public void addPortalCacheListener(com.liferay.portal.kernel.cache.PortalCacheListener<K,V> portalCacheListener, com.liferay.portal.kernel.cache.PortalCacheListenerScope portalCacheListenerScope)
    • clearAll

      public void clearAll()
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.liferay.portal.kernel.cache.PortalCacheListener<K extends Serializable,V>
    • getPortalCacheListeners

      public Map<com.liferay.portal.kernel.cache.PortalCacheListener<K,V>,com.liferay.portal.kernel.cache.PortalCacheListenerScope> getPortalCacheListeners()
    • isEmpty

      public boolean isEmpty()
    • notifyEntryEvicted

      public void notifyEntryEvicted(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache, K key, V value, int timeToLive) throws com.liferay.portal.kernel.cache.PortalCacheException
      Specified by:
      notifyEntryEvicted in interface com.liferay.portal.kernel.cache.PortalCacheListener<K extends Serializable,V>
      Throws:
      com.liferay.portal.kernel.cache.PortalCacheException
    • notifyEntryExpired

      public void notifyEntryExpired(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache, K key, V value, int timeToLive) throws com.liferay.portal.kernel.cache.PortalCacheException
      Specified by:
      notifyEntryExpired in interface com.liferay.portal.kernel.cache.PortalCacheListener<K extends Serializable,V>
      Throws:
      com.liferay.portal.kernel.cache.PortalCacheException
    • notifyEntryPut

      public void notifyEntryPut(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache, K key, V value, int timeToLive) throws com.liferay.portal.kernel.cache.PortalCacheException
      Specified by:
      notifyEntryPut in interface com.liferay.portal.kernel.cache.PortalCacheListener<K extends Serializable,V>
      Throws:
      com.liferay.portal.kernel.cache.PortalCacheException
    • notifyEntryRemoved

      public void notifyEntryRemoved(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache, K key, V value, int timeToLive) throws com.liferay.portal.kernel.cache.PortalCacheException
      Specified by:
      notifyEntryRemoved in interface com.liferay.portal.kernel.cache.PortalCacheListener<K extends Serializable,V>
      Throws:
      com.liferay.portal.kernel.cache.PortalCacheException
    • notifyEntryUpdated

      public void notifyEntryUpdated(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache, K key, V value, int timeToLive) throws com.liferay.portal.kernel.cache.PortalCacheException
      Specified by:
      notifyEntryUpdated in interface com.liferay.portal.kernel.cache.PortalCacheListener<K extends Serializable,V>
      Throws:
      com.liferay.portal.kernel.cache.PortalCacheException
    • notifyRemoveAll

      public void notifyRemoveAll(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache) throws com.liferay.portal.kernel.cache.PortalCacheException
      Specified by:
      notifyRemoveAll in interface com.liferay.portal.kernel.cache.PortalCacheListener<K extends Serializable,V>
      Throws:
      com.liferay.portal.kernel.cache.PortalCacheException
    • removePortalCacheListener

      public void removePortalCacheListener(com.liferay.portal.kernel.cache.PortalCacheListener<K,V> portalCacheListener)