Search in sources :

Example 1 with WanReplicationPublisher

use of com.hazelcast.wan.WanReplicationPublisher in project hazelcast by hazelcast.

the class MapEventPublisherImpl method publishWanReplicationEventInternal.

protected void publishWanReplicationEventInternal(String mapName, ReplicationEventObject event) {
    MapContainer mapContainer = mapServiceContext.getMapContainer(mapName);
    WanReplicationPublisher wanReplicationPublisher = mapContainer.getWanReplicationPublisher();
    wanReplicationPublisher.publishReplicationEvent(SERVICE_NAME, event);
}
Also used : WanReplicationPublisher(com.hazelcast.wan.WanReplicationPublisher) MapContainer(com.hazelcast.map.impl.MapContainer)

Aggregations

MapContainer (com.hazelcast.map.impl.MapContainer)1 WanReplicationPublisher (com.hazelcast.wan.WanReplicationPublisher)1