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 Summary
Constructors Constructor Description EventWrapper(K key, E event, FlagAffectedCommand command1)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlagAffectedCommand
getCommand()
E
getEvent()
K
getKey()
void
setEvent(E event)
-
-
-
Constructor Detail
-
EventWrapper
public EventWrapper(K key, E event, FlagAffectedCommand command1)
-
-
Method Detail
-
getEvent
public E getEvent()
-
setEvent
public void setEvent(E event)
-
getKey
public K getKey()
-
getCommand
public FlagAffectedCommand getCommand()
-
-