public void publishWanReplicationRemove(String mapName, Data key, long removeTime) {
   MapContainer mapContainer = mapServiceContext.getMapContainer(mapName);
   MapReplicationRemove replicationEvent = new MapReplicationRemove(mapName, key, removeTime);
   mapContainer
       .getWanReplicationPublisher()
       .publishReplicationEvent(mapServiceContext.serviceName(), replicationEvent);
 }
Ejemplo n.º 2
0
 public void publishWanReplicationRemove(String mapName, Data key, long removeTime) {
   MapContainer mapContainer = getMapContainer(mapName);
   MapReplicationRemove replicationEvent = new MapReplicationRemove(mapName, key, removeTime);
   mapContainer
       .getWanReplicationPublisher()
       .publishReplicationEvent(SERVICE_NAME, replicationEvent);
 }
 void publishWanReplicationEventInternal(String mapName, ReplicationEventObject event) {
   final MapServiceContext mapServiceContext = this.mapServiceContext;
   final MapContainer mapContainer = mapServiceContext.getMapContainer(mapName);
   final WanReplicationPublisher wanReplicationPublisher =
       mapContainer.getWanReplicationPublisher();
   wanReplicationPublisher.publishReplicationEvent(SERVICE_NAME, event);
 }
 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);
 }
Ejemplo n.º 5
0
 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);
 }