Class ServiceDiscovery.ResolvedTarget$

  • Enclosing class:
    ServiceDiscovery

    public static class ServiceDiscovery.ResolvedTarget$
    extends java.lang.Object
    • Constructor Detail

      • ResolvedTarget$

        public ResolvedTarget$()
    • Method Detail

      • apply

        public ServiceDiscovery.ResolvedTarget apply​(java.lang.String host,
                                                     scala.Option<java.lang.Object> port,
                                                     scala.Option<java.net.InetAddress> address)
        Parameters:
        host - the hostname or the IP address of the target
        port - optional port number
        address - IP address of the target. This is used during cluster bootstap when available.