public TenantFullSyncConfiguration(TenantFullSyncPageToken pageToken, Guid invocationId, OutputResultDelegate writeResult, ISyncEventLogger eventLogger, IExcludedObjectReporter excludedObjectReporter) : this(pageToken, invocationId, writeResult, eventLogger, excludedObjectReporter, TenantFullSyncPageToken.Parse(pageToken.ToByteArray()))
 {
 }
 public TenantFullSyncConfiguration(TenantFullSyncPageToken pageToken, Guid invocationId, OutputResultDelegate writeResult, ISyncEventLogger eventLogger, IExcludedObjectReporter excludedObjectReporter, TenantFullSyncPageToken originalToken) : base(pageToken, invocationId, writeResult, eventLogger, excludedObjectReporter, originalToken)
 {
     ExTraceGlobals.BackSyncTracer.TraceDebug((long)SyncConfiguration.TraceId, "New TenantFullSyncConfiguration");
 }
Esempio n. 3
0
 public MergeConfiguration(MergePageToken pageToken, Guid invocationId, OutputResultDelegate writeResult, ISyncEventLogger eventLogger, IExcludedObjectReporter excludedObjectReporter, PartitionId partitionId) : base(pageToken, invocationId, writeResult, eventLogger, excludedObjectReporter, MergePageToken.Parse(pageToken.ToByteArray()))
 {
     ExTraceGlobals.BackSyncTracer.TraceDebug((long)SyncConfiguration.TraceId, "New MergeConfiguration");
     ExTraceGlobals.BackSyncTracer.TraceDebug <string>((long)SyncConfiguration.TraceId, "pageToken.MergeState = {0}", pageToken.MergeState.ToString());
     if (pageToken.MergeState == MergeState.Start)
     {
         ExTraceGlobals.BackSyncTracer.TraceDebug((long)SyncConfiguration.TraceId, "Update merge state");
         this.PageToken.UpdateMergeState(partitionId);
     }
 }
Esempio n. 4
0
 public FullSyncConfiguration(IFullSyncPageToken pageToken, Guid invocationId, OutputResultDelegate writeResult, ISyncEventLogger eventLogger, IExcludedObjectReporter excludedObjectReporter, IFullSyncPageToken originalToken) : base(invocationId, writeResult, eventLogger, excludedObjectReporter)
 {
     ExTraceGlobals.BackSyncTracer.TraceDebug((long)SyncConfiguration.TraceId, "New FullSyncConfiguration");
     this.FullSyncPageToken = pageToken;
     this.originalToken     = originalToken;
 }
 public ObjectFullSyncConfiguration(ObjectFullSyncPageToken pageToken, Guid invocationId, OutputResultDelegate writeResult, ISyncEventLogger eventLogger, IExcludedObjectReporter excludedObjectReporter) : base(pageToken, invocationId, writeResult, eventLogger, excludedObjectReporter, ObjectFullSyncPageToken.Parse(pageToken.ToByteArray()))
 {
     ExTraceGlobals.BackSyncTracer.TraceDebug((long)SyncConfiguration.TraceId, "New ObjectFullSyncConfiguration");
 }
Esempio n. 6
0
 public DirSyncBasedTenantFullSyncConfiguration(TenantFullSyncPageToken pageToken, ExchangeConfigurationUnit tenantFullSyncOrganizationCU, Guid invocationId, OutputResultDelegate writeResult, ISyncEventLogger eventLogger, IExcludedObjectReporter excludedObjectReporter) : base(pageToken.TenantScopedBackSyncCookie, invocationId, writeResult, eventLogger, excludedObjectReporter)
 {
     if (pageToken == null)
     {
         throw new ArgumentNullException("pageToken");
     }
     ExTraceGlobals.BackSyncTracer.TraceDebug((long)SyncConfiguration.TraceId, "New DirSyncBasedTenantFullSyncConfiguration");
     this.FullSyncPageToken = pageToken;
     this.OrganizationCU    = tenantFullSyncOrganizationCU;
 }
 protected SyncConfiguration(Guid invocationId, OutputResultDelegate writeResult, ISyncEventLogger eventLogger, IExcludedObjectReporter excludedObjectReporter)
 {
     ExTraceGlobals.BackSyncTracer.TraceDebug((long)SyncConfiguration.TraceId, "New SyncConfiguration");
     ExTraceGlobals.BackSyncTracer.TraceDebug <Guid>((long)SyncConfiguration.TraceId, "invocationId {0}", invocationId);
     this.WriteResult            = writeResult;
     this.EventLogger            = eventLogger;
     this.ExcludedObjectReporter = excludedObjectReporter;
     this.errorSyncObjects       = new Dictionary <SyncObject, Exception>();
     this.InvocationId           = invocationId;
 }
 public DirSyncBasedMergeConfiguration(MergePageToken pageToken, ExchangeConfigurationUnit tenantFullSyncOrganizationCU, Guid invocationId, OutputResultDelegate writeResult, ISyncEventLogger eventLogger, IExcludedObjectReporter excludedObjectReporter, PartitionId partitionId) : base(pageToken, tenantFullSyncOrganizationCU, invocationId, writeResult, eventLogger, excludedObjectReporter)
 {
     ExTraceGlobals.BackSyncTracer.TraceDebug((long)SyncConfiguration.TraceId, "New DirSyncBasedMergeConfiguration");
     ExTraceGlobals.BackSyncTracer.TraceDebug <string>((long)SyncConfiguration.TraceId, "pageToken.MergeState = {0}", pageToken.MergeState.ToString());
     if (pageToken.MergeState == MergeState.Start)
     {
         ExTraceGlobals.BackSyncTracer.TraceDebug((long)SyncConfiguration.TraceId, "Update merge state");
         this.PageToken.UpdateMergeState(partitionId);
     }
 }
 public IncrementalSyncConfiguration(BackSyncCookie syncCookie, Guid invocationId, OutputResultDelegate writeResult, ISyncEventLogger eventLogger, IExcludedObjectReporter excludedObjectReporter) : base(invocationId, writeResult, eventLogger, excludedObjectReporter)
 {
     ExTraceGlobals.BackSyncTracer.TraceDebug((long)SyncConfiguration.TraceId, "New IncrementalSyncConfiguration");
     this.syncCookie = syncCookie;
 }