public class EnterpriseMapEventPublisherImpl
extends com.hazelcast.map.impl.event.MapEventPublisherImpl
MapEventPublisher helper functionality.| Constructor and Description |
|---|
EnterpriseMapEventPublisherImpl(EnterpriseMapServiceContext mapServiceContext) |
| Modifier and Type | Method and Description |
|---|---|
EnterpriseMapServiceContext |
getEnterpriseMapServiceContext() |
void |
publishEvent(com.hazelcast.nio.Address caller,
String mapName,
com.hazelcast.core.EntryEventType eventType,
com.hazelcast.nio.serialization.Data dataKey,
Object oldValue,
Object value,
Object mergingValue)
If the in-memory format for this map is
InMemoryFormat.NATIVE it will copy the values on-heap
before publishing the event. |
void |
publishWanReplicationRemove(String mapName,
com.hazelcast.nio.serialization.Data key,
long removeTime)
Additionally filters events and publishes only events that do not match the
MapWanEventFilter
configured for this map. |
void |
publishWanReplicationRemoveBackup(String mapName,
com.hazelcast.nio.serialization.Data key,
long removeTime)
Additionally filters events and publishes only events that do not match the
MapWanEventFilter
configured for this map. |
void |
publishWanReplicationUpdate(String mapName,
com.hazelcast.core.EntryView<com.hazelcast.nio.serialization.Data,com.hazelcast.nio.serialization.Data> entryView)
Additionally filters events and publishes only events that do not match the
MapWanEventFilter
configured for this map. |
void |
publishWanReplicationUpdateBackup(String mapName,
com.hazelcast.core.EntryView entryView)
Additionally filters events and publishes only events that do not match the
MapWanEventFilter
configured for this map. |
public EnterpriseMapEventPublisherImpl(EnterpriseMapServiceContext mapServiceContext)
public void publishEvent(com.hazelcast.nio.Address caller,
String mapName,
com.hazelcast.core.EntryEventType eventType,
com.hazelcast.nio.serialization.Data dataKey,
Object oldValue,
Object value,
Object mergingValue)
InMemoryFormat.NATIVE it will copy the values on-heap
before publishing the event.publishEvent in interface com.hazelcast.map.impl.event.MapEventPublisherpublishEvent in class com.hazelcast.map.impl.event.MapEventPublisherImplpublic void publishWanReplicationUpdate(String mapName, com.hazelcast.core.EntryView<com.hazelcast.nio.serialization.Data,com.hazelcast.nio.serialization.Data> entryView)
MapWanEventFilter
configured for this map.publishWanReplicationUpdate in interface com.hazelcast.map.impl.event.MapEventPublisherpublishWanReplicationUpdate in class com.hazelcast.map.impl.event.MapEventPublisherImplmapName - the map nameentryView - the updated entrypublic void publishWanReplicationRemove(String mapName, com.hazelcast.nio.serialization.Data key, long removeTime)
MapWanEventFilter
configured for this map.publishWanReplicationRemove in interface com.hazelcast.map.impl.event.MapEventPublisherpublishWanReplicationRemove in class com.hazelcast.map.impl.event.MapEventPublisherImplmapName - the map namekey - the key of the removed entryremoveTime - the clock time for the remove eventpublic void publishWanReplicationUpdateBackup(String mapName, com.hazelcast.core.EntryView entryView)
MapWanEventFilter
configured for this map.publishWanReplicationUpdateBackup in interface com.hazelcast.map.impl.event.MapEventPublisherpublishWanReplicationUpdateBackup in class com.hazelcast.map.impl.event.MapEventPublisherImplmapName - the map nameentryView - the updated entrypublic void publishWanReplicationRemoveBackup(String mapName, com.hazelcast.nio.serialization.Data key, long removeTime)
MapWanEventFilter
configured for this map.publishWanReplicationRemoveBackup in interface com.hazelcast.map.impl.event.MapEventPublisherpublishWanReplicationRemoveBackup in class com.hazelcast.map.impl.event.MapEventPublisherImplmapName - the map namekey - the key of the removed entryremoveTime - the clock time for the remove eventpublic EnterpriseMapServiceContext getEnterpriseMapServiceContext()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.