com.liferay.portal.kernel.cache
Class AggregatedPortalCacheListener<K extends Serializable,V>
java.lang.Object
com.liferay.portal.kernel.cache.AggregatedPortalCacheListener<K,V>
- All Implemented Interfaces:
- PortalCacheListener<K,V>
public class AggregatedPortalCacheListener<K extends Serializable,V>
- extends Object
- implements PortalCacheListener<K,V>
|
Method Summary |
void |
addPortalCacheListener(PortalCacheListener<K,V> portalCacheListener)
|
void |
addPortalCacheListener(PortalCacheListener<K,V> portalCacheListener,
PortalCacheListenerScope portalCacheListenerScope)
|
void |
clearAll()
|
void |
dispose()
|
Map<PortalCacheListener<K,V>,PortalCacheListenerScope> |
getPortalCacheListeners()
|
boolean |
isEmpty()
|
static boolean |
isRemoteInvoke()
|
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)
|
void |
removePortalCacheListener(PortalCacheListener<K,V> portalCacheListener)
|
static void |
setRemoteInvoke(boolean remoteInvoke)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregatedPortalCacheListener
public AggregatedPortalCacheListener()
isRemoteInvoke
public static boolean isRemoteInvoke()
setRemoteInvoke
public static void setRemoteInvoke(boolean remoteInvoke)
addPortalCacheListener
public void addPortalCacheListener(PortalCacheListener<K,V> portalCacheListener)
addPortalCacheListener
public void addPortalCacheListener(PortalCacheListener<K,V> portalCacheListener,
PortalCacheListenerScope portalCacheListenerScope)
clearAll
public void clearAll()
dispose
public void dispose()
- Specified by:
dispose in interface PortalCacheListener<K extends Serializable,V>
getPortalCacheListeners
public Map<PortalCacheListener<K,V>,PortalCacheListenerScope> getPortalCacheListeners()
isEmpty
public boolean isEmpty()
notifyEntryEvicted
public void notifyEntryEvicted(PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive)
throws PortalCacheException
- Specified by:
notifyEntryEvicted in interface PortalCacheListener<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 PortalCacheListener<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 PortalCacheListener<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 PortalCacheListener<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 PortalCacheListener<K extends Serializable,V>
- Throws:
PortalCacheException
notifyRemoveAll
public void notifyRemoveAll(PortalCache<K,V> portalCache)
throws PortalCacheException
- Specified by:
notifyRemoveAll in interface PortalCacheListener<K extends Serializable,V>
- Throws:
PortalCacheException
removePortalCacheListener
public void removePortalCacheListener(PortalCacheListener<K,V> portalCacheListener)