Exemplo n.º 1
0
 public void Handle(SwitchedToPrimary notification)
 {
     foreach (var item in csDataStore.ConnectedNodes)
     {
         item.LastStatusMessageTime = timeProvider.Now();
     }
 }
 public void Handle(SwitchedToPrimary notification)
 {
     lock (lockObj)
     {
         backupServers.Remove(ourId);
     }
     ourId = 0;
 }