예제 #1
0
 public void Init(long checkpointPosition)
 {
     _indexCommitter.Init(checkpointPosition);
     _thread = new Thread(HandleReplicatedQueue);
     _thread.IsBackground = true;
     _thread.Name         = Name;
     _thread.Start();
 }
예제 #2
0
 public void Init(long chaserCheckpoint)
 {
     _indexCommitter.Init(chaserCheckpoint);
     _publisher.Publish(new ReplicationTrackingMessage.IndexedTo(_indexCommitter.LastIndexedPosition));
     _thread = new Thread(HandleReplicatedQueue);
     _thread.IsBackground = true;
     _thread.Name         = Name;
     _thread.Start();
 }
예제 #3
0
 void IReadIndex.Init(long buildToPosition)
 {
     _indexCommitter.Init(buildToPosition);
 }