public class TestPortalCacheListener<K extends java.io.Serializable,V> extends java.lang.Object implements PortalCacheListener<K,V>
| Constructor and Description |
|---|
TestPortalCacheListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertActionsCount(int count) |
void |
assertEvicted(K key,
V value,
int timeToLive) |
void |
assertExpired(K key,
V value,
int timeToLive) |
void |
assertPut(K key,
V value) |
void |
assertPut(K key,
V value,
int timeToLive) |
void |
assertRemoveAll() |
void |
assertRemoved(K key,
V value) |
void |
assertRemoved(K key,
V value,
int timeToLive) |
void |
assertUpdated(K key,
V value) |
void |
assertUpdated(K key,
V value,
int timeToLive) |
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) |
void |
reset() |
public void assertActionsCount(int count)
public void assertRemoveAll()
public void dispose()
dispose in interface PortalCacheListener<K extends java.io.Serializable,V>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 reset()