private LeaderElectionSupport createLeaderElectionSupport() { var electionSupport = new LeaderElectionSupport(zooKeeper, testRootNode + Thread.CurrentThread.ManagedThreadId, "foohost"); return(electionSupport); }
public ElectionWatcher(LeaderElectionSupport leaderElectionSupport) { les = leaderElectionSupport; }