public class AggregatedPortalCacheListener<K extends java.io.Serializable,V> extends java.lang.Object implements PortalCacheListener<K,V>
| Constructor and Description |
|---|
AggregatedPortalCacheListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPortalCacheListener(PortalCacheListener<K,V> portalCacheListener) |
void |
addPortalCacheListener(PortalCacheListener<K,V> portalCacheListener,
PortalCacheListenerScope portalCacheListenerScope) |
void |
clearAll() |
void |
dispose() |
java.util.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) |
public static boolean isRemoteInvoke()
public static void setRemoteInvoke(boolean remoteInvoke)
public void addPortalCacheListener(PortalCacheListener<K,V> portalCacheListener)
public void addPortalCacheListener(PortalCacheListener<K,V> portalCacheListener, PortalCacheListenerScope portalCacheListenerScope)
public void clearAll()
public void dispose()
dispose in interface PortalCacheListener<K extends java.io.Serializable,V>public java.util.Map<PortalCacheListener<K,V>,PortalCacheListenerScope> getPortalCacheListeners()
public boolean isEmpty()
public void notifyEntryEvicted(PortalCache<K,V> portalCache, K key, V value, int timeToLive) throws PortalCacheException
notifyEntryEvicted in interface PortalCacheListener<K extends java.io.Serializable,V>PortalCacheExceptionpublic void notifyEntryExpired(PortalCache<K,V> portalCache, K key, V value, int timeToLive) throws PortalCacheException
notifyEntryExpired in interface PortalCacheListener<K extends java.io.Serializable,V>PortalCacheExceptionpublic void notifyEntryPut(PortalCache<K,V> portalCache, K key, V value, int timeToLive) throws PortalCacheException
notifyEntryPut in interface PortalCacheListener<K extends java.io.Serializable,V>PortalCacheExceptionpublic void notifyEntryRemoved(PortalCache<K,V> portalCache, K key, V value, int timeToLive) throws PortalCacheException
notifyEntryRemoved in interface PortalCacheListener<K extends java.io.Serializable,V>PortalCacheExceptionpublic void notifyEntryUpdated(PortalCache<K,V> portalCache, K key, V value, int timeToLive) throws PortalCacheException
notifyEntryUpdated in interface PortalCacheListener<K extends java.io.Serializable,V>PortalCacheExceptionpublic void notifyRemoveAll(PortalCache<K,V> portalCache) throws PortalCacheException
notifyRemoveAll in interface PortalCacheListener<K extends java.io.Serializable,V>PortalCacheExceptionpublic void removePortalCacheListener(PortalCacheListener<K,V> portalCacheListener)