Interface UnicastHostsProvider.HostsResolver

  • Enclosing interface:

    public static interface UnicastHostsProvider.HostsResolver
    Helper object that allows to resolve a list of hosts to a list of transport addresses. Each host is resolved into a transport address (or a collection of addresses if the number of ports is greater than one)
    • Method Summary

      Modifier and Type Method Description
      java.util.List<TransportAddress> resolveHosts​(java.util.List<java.lang.String> hosts, int limitPortCounts)  
    • Method Detail

      • resolveHosts

        java.util.List<TransportAddress> resolveHosts​(java.util.List<java.lang.String> hosts,
                                                      int limitPortCounts)