public class ConverterAsCacheEventConverter<K,V,C> extends Object implements CacheEventConverter<K,V,C>
| Modifier and Type | Class and Description |
|---|---|
static class |
ConverterAsCacheEventConverter.Externalizer |
| Constructor and Description |
|---|
ConverterAsCacheEventConverter(Converter<K,V,C> converter) |
| Modifier and Type | Method and Description |
|---|---|
C |
convert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType)
Converts the given newValue into something different possibly.
|
protected void |
injectDependencies(ComponentRegistry cr) |
public C convert(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)
CacheEventConverterconvert in interface CacheEventConverter<K,V,C>key - The key for the entry that was changed for the eventoldValue - The previous value before the event takes placeoldMetadata - The old value before the event takes placenewValue - The new value for the entry after the event takes placenewMetadata - The new metadata for the entry after the event takes placeeventType - The type of event that is being raisedprotected void injectDependencies(ComponentRegistry cr)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.