public class InternalMapListenerAdapter extends Object implements ListenerAdapter<IMapEvent>
MapListener sub-interfaces into a ListenerAdapter.
Main purpose of this adapter is to avoid lots of instanceOf checks when firing events to check whether or not
a corresponding MapListener sub-interface for a specific EntryEventType is extended.
And also to provide an abstraction over all MapListener sub-interfaces to make a smooth usage when passing
fired events to listeners e.g. only calling ListenerAdapter.onEvent(T) is sufficient to fire any event.public void onEvent(IMapEvent event)
ListenerAdapteronEvent in interface ListenerAdapter<IMapEvent>event - type of event.public ListenerAdapter[] getListenerAdapters()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.