public class TestPortalCacheListener<K extends java.io.Serializable,V>
extends java.lang.Object
implements com.liferay.portal.kernel.cache.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(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive) |
void |
notifyEntryExpired(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive) |
void |
notifyEntryPut(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive) |
void |
notifyEntryRemoved(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive) |
void |
notifyEntryUpdated(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache,
K key,
V value,
int timeToLive) |
void |
notifyRemoveAll(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache) |
void |
reset() |
public void assertActionsCount(int count)
public void assertRemoveAll()
public void dispose()
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
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
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
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
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
public void notifyRemoveAll(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache) throws com.liferay.portal.kernel.cache.PortalCacheException
public void reset()