Class CacheEntryCreatedAdapter<K,​V>


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

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

      Constructors 
      Constructor Description
      CacheEntryCreatedAdapter​(Event<org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<K,​V>> event)
      Needed for creating event bridge.
    • Field Detail

      • EMPTY

        public static final org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<?,​?> EMPTY
      • WILDCARD_TYPE

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

      • CacheEntryCreatedAdapter

        public CacheEntryCreatedAdapter​(Event<org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<K,​V>> event)
        Needed for creating event bridge.
    • Method Detail

      • fire

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