Package com.hazelcast.map.wan
Interface MapWanEventFilter<K,V>
- Type Parameters:
K- the type of the keyV- the type of the value
public interface MapWanEventFilter<K,V>
WAN event filtering interface for
IMap
based wan replication events.-
Method Summary
Modifier and TypeMethodDescriptionbooleanfilter(String mapName, com.hazelcast.core.EntryView<K, V> entryView, WanFilterEventType eventType) This method decides whether this entry view is suitable to replicate over WAN.
-
Method Details
-
filter
boolean filter(String mapName, com.hazelcast.core.EntryView<K, V> entryView, WanFilterEventType eventType) This method decides whether this entry view is suitable to replicate over WAN.- Parameters:
mapName- the map nameentryView- the entry vieweventType- the WAN event type- Returns:
trueif WAN event is not eligible for replication
-