@Test public void testGetCurrentZxid() { zks.setZxid(1); assertEquals("0x1", leaderBean.getCurrentZxid()); }
public String getCurrentZxid() { return "0x" + Long.toHexString(zks.getZxid()); }
LeaderBean extends ZooKeeperServerBean implements LeaderMXBean { public String getCurrentZxid() { return "0x" + Long.toHexString(zks.getZxid()); } }
LeaderBean extends ZooKeeperServerBean implements LeaderMXBean { public String getCurrentZxid() { return "0x" + Long.toHexString(zks.getZxid()); } LeaderBean(Leader leader, ZooKeeperServer zks); }
LeaderBean extends ZooKeeperServerBean implements LeaderMXBean { public String getCurrentZxid() { return "0x" + Long.toHexString(zks.getZxid()); } 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 { public String getCurrentZxid() { return "0x" + Long.toHexString(zks.getZxid()); } 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();  }