Liferay 7.0-ce-m6

com.liferay.portal.kernel.cache.cluster
Class ClusterLinkCacheReplicator<K extends Serializable,V extends Serializable>

java.lang.Object
  extended by com.liferay.portal.kernel.cache.cluster.ClusterLinkCacheReplicator<K,V>
All Implemented Interfaces:
CacheListener<K,V>, CacheReplicator

public class ClusterLinkCacheReplicator<K extends Serializable,V extends Serializable>
extends Object
implements CacheListener<K,V>, CacheReplicator


Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.cache.CacheReplicator
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
 
Constructor Summary
ClusterLinkCacheReplicator(Properties properties)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterLinkCacheReplicator

public ClusterLinkCacheReplicator(Properties properties)
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface CacheListener<K extends Serializable,V extends Serializable>

notifyEntryEvicted

public void notifyEntryEvicted(PortalCache<K,V> portalCache,
                               K key,
                               V value,
                               int timeToLive)
Specified by:
notifyEntryEvicted in interface CacheListener<K extends Serializable,V extends Serializable>

notifyEntryExpired

public void notifyEntryExpired(PortalCache<K,V> portalCache,
                               K key,
                               V value,
                               int timeToLive)
Specified by:
notifyEntryExpired in interface CacheListener<K extends Serializable,V extends Serializable>

notifyEntryPut

public void notifyEntryPut(PortalCache<K,V> portalCache,
                           K key,
                           V value,
                           int timeToLive)
                    throws PortalCacheException
Specified by:
notifyEntryPut in interface CacheListener<K extends Serializable,V extends Serializable>
Throws:
PortalCacheException

notifyEntryRemoved

public void notifyEntryRemoved(PortalCache<K,V> portalCache,
                               K key,
                               V value,
                               int timeToLive)
                        throws PortalCacheException
Specified by:
notifyEntryRemoved in interface CacheListener<K extends Serializable,V extends Serializable>
Throws:
PortalCacheException

notifyEntryUpdated

public void notifyEntryUpdated(PortalCache<K,V> portalCache,
                               K key,
                               V value,
                               int timeToLive)
                        throws PortalCacheException
Specified by:
notifyEntryUpdated in interface CacheListener<K extends Serializable,V extends Serializable>
Throws:
PortalCacheException

notifyRemoveAll

public void notifyRemoveAll(PortalCache<K,V> portalCache)
                     throws PortalCacheException
Specified by:
notifyRemoveAll in interface CacheListener<K extends Serializable,V extends Serializable>
Throws:
PortalCacheException

Liferay 7.0-ce-m6