public PublicFolderActivityPerformanceTracker(SyncActivity trackedActivity, FolderOperationCounter folderOperationCounter, SyncStateCounter syncStateCounter, LatencyInfo mrsProxyLatencyInfo, PerformanceDataProvider transientRetryDelayTracker)
 {
     ArgumentValidator.ThrowIfNull("folderOperationCounter", folderOperationCounter);
     ArgumentValidator.ThrowIfNull("syncStateCounter", syncStateCounter);
     ArgumentValidator.ThrowIfNull("mrsProxyLatencyInfo", mrsProxyLatencyInfo);
     ArgumentValidator.ThrowIfNull("transientRetryDelayTracker", transientRetryDelayTracker);
     this.folderOperationCounter     = folderOperationCounter;
     this.syncStateCounter           = syncStateCounter;
     this.transientRetryDelayTracker = transientRetryDelayTracker;
     this.trackedActivity            = trackedActivity;
     this.mrsProxyLatencyInfo        = mrsProxyLatencyInfo;
 }
Example #2
0
 public PublicFolderSynchronizerLogger(PublicFolderSession publicFolderSession, FolderOperationCounter folderOperationCount, Guid correlationId) : base(publicFolderSession, "PublicFolderSyncInfo", "PublicFolderLastSyncCylceLog", new Guid?(correlationId))
 {
     ArgumentValidator.ThrowIfNull("folderOperationCount", folderOperationCount);
     this.logComponent         = "PublicFolderSyncLog";
     this.logSuffixName        = "PublicFolderSyncLog";
     this.folderOperationCount = folderOperationCount;
     using (DisposeGuard disposeGuard = this.Guard())
     {
         base.LogEvent(LogEventType.Entry, "Sync started");
         disposeGuard.Success();
     }
 }