Package org.apache.pekko.discovery
Class ServiceDiscovery.ResolvedTarget$
java.lang.Object
org.apache.pekko.discovery.ServiceDiscovery.ResolvedTarget$
- Enclosing class:
- ServiceDiscovery
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServiceDiscovery.ResolvedTarget$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscala.math.Ordering<ServiceDiscovery.ResolvedTarget>apply(String host, scala.Option<Object> port, scala.Option<InetAddress> address)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ResolvedTarget$
public ResolvedTarget$()
-
-
Method Details
-
addressOrdering
-
apply
public ServiceDiscovery.ResolvedTarget apply(String host, scala.Option<Object> port, scala.Option<InetAddress> address) - Parameters:
host- the hostname or the IP address of the targetport- optional port numberaddress- IP address of the target. This is used during cluster bootstrap when available.
-