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 java.lang.Object
Simple wrapper that keeps the original key along with the converted event. The original key is required for things such as key tracking.- Since:
- 9.0
- Author:
- wburns
-
-
Constructor Summary
Constructors Constructor Description EventWrapper(K key, E event)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description E
getEvent()
K
getKey()
void
setEvent(E event)
-