Example #1
0
 private RecoveryLink ToRecoveryLink(ReplicationLink link, ReplicationEndpointInfo localInfo, ReplicationEndpointInfo remoteInfo) =>
 new RecoveryLink(link, localInfo.LogSequenceNumbers[link.Target.LogName], remoteInfo.LogSequenceNumbers[link.Target.LogName]);
Example #2
0
 public RecoveryLink(ReplicationLink replicationLink, long localSequenceNr, long remoteSequenceNr)
 {
     ReplicationLink  = replicationLink;
     LocalSequenceNr  = localSequenceNr;
     RemoteSequenceNr = remoteSequenceNr;
 }
 private void CreateReplicator(ReplicationLink replicationLink)
 {
     Context.ActorOf(Props.Create(() => new Replicator(replicationLink.Target, replicationLink.Source)));
 }