com.liferay.portal.cache.cluster
Class ClusterLinkCacheReplicator<K extends Serializable,V extends Serializable>
java.lang.Object
com.liferay.portal.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
|
Method Summary |
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 |
ClusterLinkCacheReplicator
public ClusterLinkCacheReplicator(Properties properties)
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