Class CacheEntryCreatedAdapter<K,V>

java.lang.Object
org.infinispan.cdi.embedded.event.cache.AbstractAdapter<org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<K,V>>
org.infinispan.cdi.embedded.event.cache.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 final org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<?,?>
     
    static final TypeLiteral<org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<?,?>>
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fire(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<K,V> payload)
     

    Methods inherited from class java.lang.Object

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

    • 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 Details

    • CacheEntryCreatedAdapter

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

    • 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>>