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