Class DistributedExoCache.CacheEventListener
java.lang.Object
org.exoplatform.services.cache.impl.infinispan.distributed.DistributedExoCache.CacheEventListener
- Enclosing class:
DistributedExoCache<K extends Serializable,V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcacheEntrCreated(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<DistributedExoCache.CacheKey<K>, V> evt) voidcacheEntryEvicted(org.infinispan.notifications.cachelistener.event.CacheEntriesEvictedEvent<DistributedExoCache.CacheKey<K>, V> evt) Warning Infinispan triggers aCacheEntryEvictedEventonly at explicit eviction that is done lazily which is not exactly what we expect, we still use it to be able to use it withavoidValueReplicationset totrue.voidcacheEntryModified(org.infinispan.notifications.cachelistener.event.CacheEntryModifiedEvent<DistributedExoCache.CacheKey<K>, V> evt) voidcacheEntryRemoved(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<DistributedExoCache.CacheKey<K>, V> evt)
-
Constructor Details
-
CacheEventListener
public CacheEventListener()
-
-
Method Details
-
cacheEntryEvicted
public void cacheEntryEvicted(org.infinispan.notifications.cachelistener.event.CacheEntriesEvictedEvent<DistributedExoCache.CacheKey<K>, V> evt) Warning Infinispan triggers aCacheEntryEvictedEventonly at explicit eviction that is done lazily which is not exactly what we expect, we still use it to be able to use it withavoidValueReplicationset totrue. -
cacheEntryRemoved
public void cacheEntryRemoved(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<DistributedExoCache.CacheKey<K>, V> evt) -
cacheEntryModified
public void cacheEntryModified(org.infinispan.notifications.cachelistener.event.CacheEntryModifiedEvent<DistributedExoCache.CacheKey<K>, V> evt) -
cacheEntrCreated
public void cacheEntrCreated(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<DistributedExoCache.CacheKey<K>, V> evt)
-