@Test public void getVotingSize() { IntStream.range(1, 6).filter(i -> i%2 != 0).forEach(i -> testVotingSize(i)); }
@Override public int getVotingSize() { return calculatedVotingSize.get(); }
VotingHostsFromTokenRange implements VotingHostsSelector { @Override public int getVotingSize() { return calculatedVotingSize.get(); } }
VotingHostsFromTokenRange implements VotingHostsSelector { @Override public int getVotingSize() { return calculatedVotingSize.get(); } VotingHostsFromTokenRange(HostSupplier hostSupplier, TokenMapSupplier tokenMapSupplier, int votingSize); }
VotingHostsFromTokenRange implements VotingHostsSelector { @Override public int getVotingSize() { return calculatedVotingSize.get(); } VotingHostsFromTokenRange(HostSupplier hostSupplier, TokenMapSupplier tokenMapSupplier, int votingSize); @Override CircularList<Host> getVotingHosts(); @Override int getVotingSize(); }
VotingHostsFromTokenRange implements VotingHostsSelector { @Override public int getVotingSize() { return calculatedVotingSize.get(); } VotingHostsFromTokenRange(HostSupplier hostSupplier, TokenMapSupplier tokenMapSupplier, int votingSize); @Override CircularList<Host> getVotingHosts(); @Override int getVotingSize();  }