private RecoveryLink ToRecoveryLink(ReplicationLink link, ReplicationEndpointInfo localInfo, ReplicationEndpointInfo remoteInfo) => new RecoveryLink(link, localInfo.LogSequenceNumbers[link.Target.LogName], remoteInfo.LogSequenceNumbers[link.Target.LogName]);
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))); }