Class CacheEntriesEvictedAdapter<K,​V>


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

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

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

      • EMPTY

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

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

      • CacheEntriesEvictedAdapter

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

      • fire

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