Exemple #1
0
 public void Start()
 {
     if (this.currentReplicaState.Leaders.Count == 0)
     {
         throw new InvalidOperationException("You need to setup leaders in the replica's state before starting replicas");
     }
     loopListener.Execute();
 }
Exemple #2
0
 public void Start()
 {
     if (this.currentReplicaState.Leaders.Count == 0)
     {
         throw new InvalidOperationException("You need to setup leaders in the replica's state before starting replicas");
     }
     logger.Info($"{this.currentReplicaState.MessageSender.UniqueId} is starting");
     loopListener.Execute();
 }
Exemple #3
0
 public void Start()
 {
     loopListener.Execute();
 }
Exemple #4
0
 public void Start()
 {
     logger.Info($"{this.currentAcceptorState.MessageSender.UniqueId} is starting");
     loopListener.Execute();
 }
Exemple #5
0
 public void Start()
 {
     logger.Info($"{this.currentState.MessageSender.UniqueId} is starting");
     solicitateBallot();
     loopListener.Execute();
 }
Exemple #6
0
 public void Start()
 {
     solicitateBallot();
     loopListener.Execute();
 }