@Test public void testGetElectionTimeTaken() { qp.setElectionTimeTaken(1); assertEquals(1, leaderBean.getElectionTimeTaken()); }
@Override public long getElectionTimeTaken() { return leader.self.getElectionTimeTaken(); }
LeaderBean extends ZooKeeperServerBean implements LeaderMXBean { @Override public long getElectionTimeTaken() { return leader.self.getElectionTimeTaken(); } }
LeaderBean extends ZooKeeperServerBean implements LeaderMXBean { @Override public long getElectionTimeTaken() { return leader.self.getElectionTimeTaken(); } LeaderBean(Leader leader, ZooKeeperServer zks); }
LeaderBean extends ZooKeeperServerBean implements LeaderMXBean { @Override public long getElectionTimeTaken() { return leader.self.getElectionTimeTaken(); } LeaderBean(Leader leader, ZooKeeperServer zks); String getName(); String getCurrentZxid(); String followerInfo(); @Override long getElectionTimeTaken(); @Override int getLastProposalSize(); @Override int getMinProposalSize(); @Override int getMaxProposalSize(); @Override void resetProposalStatistics(); }
LeaderBean extends ZooKeeperServerBean implements LeaderMXBean { @Override public long getElectionTimeTaken() { return leader.self.getElectionTimeTaken(); } LeaderBean(Leader leader, ZooKeeperServer zks); String getName(); String getCurrentZxid(); String followerInfo(); @Override long getElectionTimeTaken(); @Override int getLastProposalSize(); @Override int getMinProposalSize(); @Override int getMaxProposalSize(); @Override void resetProposalStatistics();  }