Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 3
0
 public void Start()
 {
     loopListener.Execute();
 }
Exemplo n.º 4
0
 public void Start()
 {
     logger.Info($"{this.currentAcceptorState.MessageSender.UniqueId} is starting");
     loopListener.Execute();
 }
Exemplo n.º 5
0
 public void Start()
 {
     logger.Info($"{this.currentState.MessageSender.UniqueId} is starting");
     solicitateBallot();
     loopListener.Execute();
 }
Exemplo n.º 6
0
 public void Start()
 {
     solicitateBallot();
     loopListener.Execute();
 }