Class CacheEntryRemovedAdapter<K,​V>


  • public class CacheEntryRemovedAdapter<K,​V>
    extends AbstractAdapter<org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<K,​V>>
    Event bridge for CacheEntryRemoved.
    Author:
    Pete Muir, Sebastian Laskawiec
    See Also:
    Listener, CacheEntryRemoved
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<?,​?> EMPTY
      Needed for creating event bridge.
      static TypeLiteral<org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<?,​?>> WILDCARD_TYPE
      Events which will be selected (including generic type information ().
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheEntryRemovedAdapter​(Event<org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<K,​V>> event)  
    • Field Detail

      • EMPTY

        public static final org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<?,​?> EMPTY
        Needed for creating event bridge.
      • WILDCARD_TYPE

        public static final TypeLiteral<org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<?,​?>> WILDCARD_TYPE
        Events which will be selected (including generic type information ().
    • Constructor Detail

      • CacheEntryRemovedAdapter

        public CacheEntryRemovedAdapter​(Event<org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<K,​V>> event)
    • Method Detail

      • fire

        public void fire​(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<K,​V> payload)
        Overrides:
        fire in class AbstractAdapter<org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<K,​V>>