コード例 #1
0
        public static void Run()
        {
            StrongConsistency sc     = new StrongConsistency();
            RsoManager        rsoMgr = new RsoManager(new EventualConsistency());

            rsoMgr.ReplicaData();
        }
コード例 #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);
 }
コード例 #3
0
 public override void ReplicateData(RsoManager rso)
 {
     Console.WriteLine("No force pushing data {0}", rso.Data);
     System.Threading.Thread.Sleep(0);
 }
コード例 #4
0
 public override void ReplicateData(RsoManager rso)
 {
     Console.WriteLine(" pUshing daata to All DCs {0}", rso.Data);
     System.Threading.Thread.Sleep(3000);
 }
コード例 #5
0
 public abstract void ReplicateData(RsoManager rso);