public void publishWanReplicationUpdate(String mapName, EntryView entryView) { MapContainer mapContainer = mapServiceContext.getMapContainer(mapName); MapReplicationUpdate replicationEvent = new MapReplicationUpdate(mapName, mapContainer.getWanMergePolicy(), entryView); mapContainer .getWanReplicationPublisher() .publishReplicationEvent(mapServiceContext.serviceName(), replicationEvent); }
public void publishWanReplicationUpdate(String mapName, EntryView entryView) { MapContainer mapContainer = getMapContainer(mapName); MapReplicationUpdate replicationEvent = new MapReplicationUpdate(mapName, mapContainer.getWanMergePolicy(), entryView); mapContainer .getWanReplicationPublisher() .publishReplicationEvent(SERVICE_NAME, replicationEvent); }