Interface AddressSelector


public interface AddressSelector
Contract to pick an Address to connect to a cluster node.
  • Method Summary

    Modifier and Type
    Method
    Description
    select(List<Address> addresses)
    Pick an address from a list.
  • Method Details

    • select

      Address select(List<Address> addresses)
      Pick an address from a list.
      Parameters:
      addresses - list of addresses
      Returns:
      the address to connect to