public void Init(long checkpointPosition) { _indexCommitter.Init(checkpointPosition); _thread = new Thread(HandleReplicatedQueue); _thread.IsBackground = true; _thread.Name = Name; _thread.Start(); }
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(); }
void IReadIndex.Init(long buildToPosition) { _indexCommitter.Init(buildToPosition); }