Ejemplo n.º 1
0
 public LeaderWatcher(IZooKeeper zooKeeper, LeaderElection election, string penultimatePath, ILeaderWatcher watcher, string path, string id)
 {
     this.zooKeeper       = zooKeeper;
     this.election        = election;
     this.penultimatePath = penultimatePath;
     this.watcher         = watcher;
     this.path            = path;
     this.id = id;
 }
Ejemplo n.º 2
0
 public LeaderWatcher(LeaderElection election, string path, ILeaderWatcher watcher)
 {
     this.election = election;
     this.path     = path;
     this.watcher  = watcher;
 }