Class EventWrapper<K,V,E extends Event<K,V>>

java.lang.Object
org.infinispan.notifications.cachelistener.EventWrapper<K,V,E>

public class EventWrapper<K,V,E extends Event<K,V>> extends Object
Simple wrapper that keeps the original key along with the converted event and command. The original key is required for things such as key tracking. The command may be null as an event may have originated without a command.
Since:
9.0
Author:
wburns
  • Constructor Details

  • Method Details

    • getEvent

      public E getEvent()
    • setEvent

      public void setEvent(E event)
    • getKey

      public K getKey()
    • getCommand

      public FlagAffectedCommand getCommand()