Prevents sending of not requested events to a MapListener #6349

merged 1 commit into from Oct 5, 2015


None yet

3 participants


Filters events according the implemented MapListener sub-interfaces.

Specifically, for example, if a listener is registered via an implementation like this :

 public class MyMapListener implements EntryAddedListener, EntryRemovedListener {

That listener will only be notified for EntryEventType#ADDED and EntryEventType#REMOVED events.
Other events, like EntryEventType#EVICTED or EntryEventType#EXPIRED, will not be sent over wire.
This may help to reduce load on eventing system and network.

@ahmetmircik ahmetmircik added this to the 3.6 milestone Oct 2, 2015
mdogan commented Oct 2, 2015

looks good to me

eminn commented Oct 5, 2015


@eminn eminn merged commit 1b14e02 into hazelcast:master Oct 5, 2015

1 check passed

default Build finished. No test results found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment