Class StartupClusterConnectivityChecker


  • public class StartupClusterConnectivityChecker
    extends java.lang.Object
    • Method Detail

      • execute

        public boolean execute​(java.util.Set<InetAddressAndPort> peers,
                               java.util.function.Function<InetAddressAndPort,​java.lang.String> getDatacenterSource)
        Parameters:
        peers - The currently known peers in the cluster; argument is not modified.
        getDatacenterSource - A function for mapping peers to their datacenter.
        Returns:
        true if the requested percentage of peers are marked ALIVE in gossip and have their connections opened; else false.