public class KeyValueFilterAsCacheEventFilter<K,V> extends Object implements CacheEventFilter<K,V>
Modifier and Type | Class and Description |
---|---|
static class |
KeyValueFilterAsCacheEventFilter.Externalizer |
Constructor and Description |
---|
KeyValueFilterAsCacheEventFilter(KeyValueFilter<? super K,? super V> filter) |
public KeyValueFilterAsCacheEventFilter(KeyValueFilter<? super K,? super V> filter)
public boolean accept(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)
CacheEventFilter
accept
in interface CacheEventFilter<K,V>
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.