public LeaderElection(ZooKeeper zookeeper, string path, ILeaderWatcher watcher, byte[] data)
     : base(zookeeper)
 {
     this._path    = path;
     this._watcher = watcher;
     this._data    = data;
 }
 public LeaderElection(ZooKeeper zookeeper, string path, ILeaderWatcher watcher, byte[] data)
     : base(zookeeper)
 {
     this._path = path;
     this._watcher = watcher;
     this._data = data;
 }
Beispiel #3
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;
 }
Beispiel #4
0
 public LeaderWatcher(LeaderElection election, string path, ILeaderWatcher watcher)
 {
     this.election = election;
     this.path     = path;
     this.watcher  = watcher;
 }
Beispiel #5
0
 public LeaderElection(IZooKeeper zookeeper, string groupPath, ILeaderWatcher watcher, byte[] data) : base(zookeeper)
 {
     this.groupPath = groupPath;
     this.watcher   = watcher;
     this.data      = data;
 }
 public LeaderWatcher(LeaderElection election, string path, ILeaderWatcher watcher)
 {
     this.election = election;
     this.path = path;
     this.watcher = watcher;
 }