public class ReplicatedMapEventPublishingService extends Object implements EventPublishingService
Constructor and Description |
---|
ReplicatedMapEventPublishingService(ReplicatedMapService replicatedMapService) |
Modifier and Type | Method and Description |
---|---|
String |
addEventListener(EventListener entryListener,
EventFilter eventFilter,
String mapName) |
void |
dispatchEvent(Object event,
Object listener)
Notifies the service of a published event.
|
void |
fireEntryListenerEvent(Data key,
Data oldValue,
Data value,
EntryEventType eventType,
String name,
Address caller) |
void |
fireEntryListenerEvent(Data key,
Data oldValue,
Data value,
String name,
Address caller) |
void |
fireMapClearedEvent(int deletedEntrySize,
String name) |
boolean |
removeEventListener(String mapName,
String registrationId) |
public ReplicatedMapEventPublishingService(ReplicatedMapService replicatedMapService)
public void dispatchEvent(Object event, Object listener)
EventPublishingService
dispatchEvent
in interface EventPublishingService
event
- the published eventlistener
- the listener registered for this eventpublic String addEventListener(EventListener entryListener, EventFilter eventFilter, String mapName)
public void fireMapClearedEvent(int deletedEntrySize, String name)
public void fireEntryListenerEvent(Data key, Data oldValue, Data value, String name, Address caller)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.