public interface CacheEventFilterConverter<K,V,C> extends CacheEventFilter<K,V>, CacheEventConverter<K,V,C>
| Modifier and Type | Method and Description |
|---|---|
C |
filterAndConvert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType)
Will both filter the entry and if passed subsequently convert the value to a new value.
|
acceptconvertC filterAndConvert(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)
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 raisedCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.