public class ClusterLinkPortalCacheReplicator<K extends java.io.Serializable,V extends java.io.Serializable>
extends java.lang.Object
implements com.liferay.portal.cache.PortalCacheReplicator<K,V>
DEFAULT_REPLICATE_PUTS, DEFAULT_REPLICATE_PUTS_VIA_COPY, DEFAULT_REPLICATE_REMOVALS, DEFAULT_REPLICATE_UPDATES, DEFAULT_REPLICATE_UPDATES_VIA_COPY, REPLICATE_PUTS, REPLICATE_PUTS_VIA_COPY, REPLICATE_REMOVALS, REPLICATE_UPDATES, REPLICATE_UPDATES_VIA_COPY, REPLICATOR| Constructor and Description |
|---|
ClusterLinkPortalCacheReplicator(java.util.Properties properties,
PortalCacheClusterLink portalCacheClusterLink) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public ClusterLinkPortalCacheReplicator(java.util.Properties properties,
PortalCacheClusterLink portalCacheClusterLink)
public void dispose()
public void notifyEntryEvicted(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache, K key, V value, int timeToLive)
public void notifyEntryExpired(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache, K key, V value, int timeToLive)
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