Package com.hazelcast.cache.wan
Interface CacheWanEventFilter<K,V>
- Type Parameters:
K
- the type of the keyV
- the type of the value
public interface CacheWanEventFilter<K,V>
WAN event filtering interface for cache based WAN replication events.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
filter
(String cacheName, com.hazelcast.cache.CacheEntryView<K, V> entryView, WanFilterEventType eventType) This method decides whether this entry view is suitable to replicate over WAN.
-
Method Details
-
filter
boolean filter(String cacheName, com.hazelcast.cache.CacheEntryView<K, V> entryView, WanFilterEventType eventType) This method decides whether this entry view is suitable to replicate over WAN.- Parameters:
cacheName
- the cache nameentryView
- the entry vieweventType
- the WAN event type- Returns:
true
if WAN event is not eligible for replication.
-