Exemplo n.º 1
0
        public AgentBackup(IMetaDBAccess metaDB)
        {
            this.metaDB = metaDB;
            hasher      = new BlockSplitter();

            backup = null;
        }
Exemplo n.º 2
0
 public static void Start(IMetaDBAccess database)
 {
     if (!started)
     {
         started         = true;
         observable      = Observable.Interval(TimeSpan.FromSeconds(2));
         Daemon.database = database;
         observable.Subscribe(_ => WakeUp(ctsource.Token).GetAwaiter().GetResult(), ctsource.Token);
     }
 }
Exemplo n.º 3
0
 public Restore(IMetaDBAccess dataBase)
 {
     this.dataBase = dataBase;
     cassandraDB   = new CassandraDataDB();
 }
Exemplo n.º 4
0
 public BackupsController(IMetaDBAccess metaDB)
 {
     this.metaDB = metaDB;
 }
Exemplo n.º 5
0
 public ManageServers(IMetaDBAccess dataBase)
 {
     this.dataBase = dataBase;
 }
Exemplo n.º 6
0
 public AgentClient(IMetaDBAccess metaDB)
 {
     this.metaDB = metaDB;
 }
Exemplo n.º 7
0
 public List(IMetaDBAccess dataBase)
 {
     this.dataBase = dataBase;
 }
Exemplo n.º 8
0
 public Backup(IMetaDBAccess metaDB, TextWriter outStream, TextReader inStream)
 {
     this.metaDB    = metaDB;
     this.outStream = outStream;
     this.inStream  = inStream;
 }
Exemplo n.º 9
0
 public CalendarController(IMetaDBAccess metaDB)
 {
     this.metaDB = metaDB;
 }
Exemplo n.º 10
0
 public VMwareBackup(IMetaDBAccess metaDB)
 {
     this.metaDB = metaDB;
     hasher      = new BlockSplitter();
 }
Exemplo n.º 11
0
 public Servers(IMetaDBAccess metaDB, TextWriter outStream)
 {
     this.metaDB    = metaDB;
     this.outStream = outStream;
 }
Exemplo n.º 12
0
 public ServersController(IMetaDBAccess metaDB, AgentClient agentClient)
 {
     this.metaDB      = metaDB;
     this.agentClient = agentClient;
 }