Class CacheEventConverterAsConverter<K,V,C>
- java.lang.Object
-
- org.infinispan.notifications.cachelistener.filter.CacheEventConverterAsConverter<K,V,C>
-
- All Implemented Interfaces:
Converter<K,V,C>
public class CacheEventConverterAsConverter<K,V,C> extends java.lang.Object implements Converter<K,V,C>
Converter that is implemented by using the provided CacheEventConverter. The provided event type will always be one that is not retried, post and of type CREATE, The old value and old metadata in both pre and post events will be the data that was in the cache before the event occurs. The new value and new metadata in both pre and post events will be the data that is in the cache after the event occurs.- Since:
- 7.0
- Author:
- wburns
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CacheEventConverterAsConverter.Externalizer
-
Constructor Summary
Constructors Constructor Description CacheEventConverterAsConverter(CacheEventConverter<K,V,C> converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description C
convert(K key, V value, Metadata metadata)
protected void
injectDependencies(ComponentRegistry cr)
-
-
-
Constructor Detail
-
CacheEventConverterAsConverter
public CacheEventConverterAsConverter(CacheEventConverter<K,V,C> converter)
-
-