Beispiel #1
0
 public DocumentStoreBackupJob(
     Support.Configuration configuration)
 {
     _configuration           = configuration;
     _backupList              = new List <BackupData>();
     _artifactSyncronizerList = new List <ArtifactSyncronizer>();
     Logger = NullLogger.Instance;
 }
 public RestoreJob(
     Func <IMongoDatabase, ICommitReader> readerFactory,
     Func <String, Int64, ICommitWriter> fileWriterFactory,
     Support.Configuration configuration)
 {
     _readerFactory     = readerFactory;
     _fileWriterFactory = fileWriterFactory;
     _configuration     = configuration;
     Logger             = NullLogger.Instance;
 }
 public BackupJob(
     Func <IMongoDatabase, ICommitReader> readerFactory,
     Func <String, Int64, ICommitWriter> fileWriterFactory,
     Support.Configuration configuration)
 {
     _readerFactory           = readerFactory;
     _fileWriterFactory       = fileWriterFactory;
     _configuration           = configuration;
     _backupList              = new List <BackupData>();
     _artifactSyncronizerList = new List <ArtifactSyncronizer>();
     Logger = NullLogger.Instance;
 }
Beispiel #4
0
 public DocumentStoreRestoreJob(
     Support.Configuration configuration)
 {
     _configuration = configuration;
     Logger         = NullLogger.Instance;
 }