Exemplo n.º 1
0
 protected internal BackupSupportingClassesFactory(BackupModule backupModule)
 {
     this.LogProvider                  = backupModule.LogProvider;
     this.Clock                        = backupModule.Clock;
     this.Monitors                     = backupModule.Monitors;
     this.FileSystemAbstraction        = backupModule.FileSystemAbstraction;
     this.TransactionLogCatchUpFactory = backupModule.TransactionLogCatchUpFactory;
     this._jobScheduler                = backupModule.JobScheduler();
     this.LogDestination               = backupModule.OutsideWorld.outStream();
     this.OutsideWorld                 = backupModule.OutsideWorld;
 }
Exemplo n.º 2
0
 public RemoteStore(LogProvider logProvider, FileSystemAbstraction fs, PageCache pageCache, StoreCopyClient storeCopyClient, TxPullClient txPullClient, TransactionLogCatchUpFactory transactionLogFactory, Config config, Monitors monitors)
 {
     this._logProvider     = logProvider;
     this._storeCopyClient = storeCopyClient;
     this._txPullClient    = txPullClient;
     this._fs                    = fs;
     this._pageCache             = pageCache;
     this._transactionLogFactory = transactionLogFactory;
     this._config                = config;
     this._monitors              = monitors;
     this._log                   = logProvider.getLog(this.GetType());
     this._commitStateHelper     = new CommitStateHelper(pageCache, fs, config);
 }