@Test public void canGetRemoteServerAddresses() { assertThat(PaxosRemotingUtils.getRemoteServerAddresses(SSL_TIMELOCK)) .isEqualTo(ImmutableList.of("bar:2", "baz:3")); }
public static List<String> getRemoteServerAddresses(TimeLockInstallConfiguration install) { List<String> result = Lists.newArrayList(getClusterAddresses(install)); result.remove(install.cluster().localServer()); return ImmutableList.copyOf(result); }
PaxosRemotingUtils { public static List<String> getRemoteServerAddresses(TimeLockInstallConfiguration install) { List<String> result = Lists.newArrayList(getClusterAddresses(install)); result.remove(install.cluster().localServer()); return ImmutableList.copyOf(result); } }
PaxosRemotingUtils { public static List<String> getRemoteServerAddresses(TimeLockInstallConfiguration install) { List<String> result = Lists.newArrayList(getClusterAddresses(install)); result.remove(install.cluster().localServer()); return ImmutableList.copyOf(result); } private  PaxosRemotingUtils(); }
PaxosRemotingUtils { public static List<String> getRemoteServerAddresses(TimeLockInstallConfiguration install) { List<String> result = Lists.newArrayList(getClusterAddresses(install)); result.remove(install.cluster().localServer()); return ImmutableList.copyOf(result); } private  PaxosRemotingUtils(); static int getQuorumSize(Collection<T> elements); static List<String> getRemoteServerPaths(TimeLockInstallConfiguration install); static ImmutableList<String> getClusterAddresses(TimeLockInstallConfiguration install); static List<String> getRemoteServerAddresses(TimeLockInstallConfiguration install); static ClusterConfiguration getClusterConfiguration(TimeLockInstallConfiguration install); static Optional<SslConfiguration> getSslConfigurationOptional(TimeLockInstallConfiguration install); static String addProtocol(TimeLockInstallConfiguration install, String address); static List<String> addProtocols(TimeLockInstallConfiguration install, List<String> addresses); static URL convertAddressToUrl(TimeLockInstallConfiguration install, String address); static List<URL> convertAddressesToUrls(TimeLockInstallConfiguration install, List<String> addresses); }
PaxosRemotingUtils { public static List<String> getRemoteServerAddresses(TimeLockInstallConfiguration install) { List<String> result = Lists.newArrayList(getClusterAddresses(install)); result.remove(install.cluster().localServer()); return ImmutableList.copyOf(result); } private  PaxosRemotingUtils(); static int getQuorumSize(Collection<T> elements); static List<String> getRemoteServerPaths(TimeLockInstallConfiguration install); static ImmutableList<String> getClusterAddresses(TimeLockInstallConfiguration install); static List<String> getRemoteServerAddresses(TimeLockInstallConfiguration install); static ClusterConfiguration getClusterConfiguration(TimeLockInstallConfiguration install); static Optional<SslConfiguration> getSslConfigurationOptional(TimeLockInstallConfiguration install); static String addProtocol(TimeLockInstallConfiguration install, String address); static List<String> addProtocols(TimeLockInstallConfiguration install, List<String> addresses); static URL convertAddressToUrl(TimeLockInstallConfiguration install, String address); static List<URL> convertAddressesToUrls(TimeLockInstallConfiguration install, List<String> addresses);  }