Class AbstractExoCache.CacheEventListener
java.lang.Object
org.exoplatform.services.cache.impl.infinispan.AbstractExoCache.CacheEventListener
- Enclosing class:
- AbstractExoCache<K extends Serializable,
V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCacheEntryCreated(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<K, V> event) voidcacheEntryEvicted(org.infinispan.notifications.cachelistener.event.CacheEntriesEvictedEvent<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<K, V> evt) voidcacheEntryRemoved(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<K, V> evt)
-
Constructor Details
-
CacheEventListener
public CacheEventListener()
-
-
Method Details
-
cacheEntryEvicted
public void cacheEntryEvicted(org.infinispan.notifications.cachelistener.event.CacheEntriesEvictedEvent<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
-
cacheEntryModified
-
CacheEntryCreated
-