Example #1
0
 public void SaveCheckpoint()
 {
     if (_LastProcessed != null)
     {
         _Checkpoint.SaveProgress(_LastProcessed);
         IndexerTrace.CheckpointSaved(_LastProcessed, _Checkpoint.CheckpointName);
     }
     _LastSaved = DateTime.UtcNow;
 }
Example #2
0
        public void SaveCheckpoint()
        {
            this.logger.LogTrace("()");

            if (_LastProcessed != null)
            {
                this.logger.LogTrace("Saving checkpoints");

                _Checkpoint.SaveProgress(_LastProcessed);
                IndexerTrace.CheckpointSaved(_LastProcessed, _Checkpoint.CheckpointName);
            }
            _LastSaved = DateTime.UtcNow;

            this.logger.LogTrace("(-)");
        }