public static void Run() { StrongConsistency sc = new StrongConsistency(); RsoManager rsoMgr = new RsoManager(new EventualConsistency()); rsoMgr.ReplicaData(); }
public override void ReplicateData(RsoManager rso) { Console.WriteLine("Pushing data to 1 Geo Redundent Replica {0}", rso.Data); System.Threading.Thread.Sleep(10); }
public override void ReplicateData(RsoManager rso) { Console.WriteLine("No force pushing data {0}", rso.Data); System.Threading.Thread.Sleep(0); }
public override void ReplicateData(RsoManager rso) { Console.WriteLine(" pUshing daata to All DCs {0}", rso.Data); System.Threading.Thread.Sleep(3000); }
public abstract void ReplicateData(RsoManager rso);