Beispiel #1
0
        public static void Run()
        {
            StrongConsistency sc     = new StrongConsistency();
            RsoManager        rsoMgr = new RsoManager(new EventualConsistency());

            rsoMgr.ReplicaData();
        }
Beispiel #2
0
 public override void ReplicateData(RsoManager rso)
 {
     Console.WriteLine("Pushing data to 1 Geo Redundent Replica {0}", rso.Data);
     System.Threading.Thread.Sleep(10);
 }
Beispiel #3
0
 public override void ReplicateData(RsoManager rso)
 {
     Console.WriteLine("No force pushing data {0}", rso.Data);
     System.Threading.Thread.Sleep(0);
 }
Beispiel #4
0
 public override void ReplicateData(RsoManager rso)
 {
     Console.WriteLine(" pUshing daata to All DCs {0}", rso.Data);
     System.Threading.Thread.Sleep(3000);
 }
Beispiel #5
0
 public abstract void ReplicateData(RsoManager rso);