Class AbstractExoCache.CacheEventListener

java.lang.Object
org.exoplatform.services.cache.impl.infinispan.AbstractExoCache.CacheEventListener
Enclosing class:
AbstractExoCache<K extends Serializable,V>

public class AbstractExoCache.CacheEventListener extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    CacheEntryCreated(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<K,V> event)
     
    void
    cacheEntryEvicted(org.infinispan.notifications.cachelistener.event.CacheEntriesEvictedEvent<K,V> evt)
    Warning Infinispan triggers a CacheEntryEvictedEvent only at explicit eviction that is done lazily which is not exactly what we expect, we still use it to be able to use it with avoidValueReplication set to true.
    void
    cacheEntryModified(org.infinispan.notifications.cachelistener.event.CacheEntryModifiedEvent<K,V> evt)
     
    void
    cacheEntryRemoved(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<K,V> evt)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CacheEventListener

      public CacheEventListener()
  • Method Details

    • cacheEntryEvicted

      public void cacheEntryEvicted(org.infinispan.notifications.cachelistener.event.CacheEntriesEvictedEvent<K,V> evt)
      Warning Infinispan triggers a CacheEntryEvictedEvent only at explicit eviction that is done lazily which is not exactly what we expect, we still use it to be able to use it with avoidValueReplication set to true.
    • cacheEntryRemoved

      public void cacheEntryRemoved(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<K,V> evt)
    • cacheEntryModified

      public void cacheEntryModified(org.infinispan.notifications.cachelistener.event.CacheEntryModifiedEvent<K,V> evt)
    • CacheEntryCreated

      public void CacheEntryCreated(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<K,V> event)