Package org.apache.pekko.discovery
Class ServiceDiscovery.ResolvedTarget$
- java.lang.Object
-
- org.apache.pekko.discovery.ServiceDiscovery.ResolvedTarget$
-
- Enclosing class:
- ServiceDiscovery
public static class ServiceDiscovery.ResolvedTarget$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ServiceDiscovery.ResolvedTarget$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ResolvedTarget$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.math.Ordering<ServiceDiscovery.ResolvedTarget>
addressOrdering()
ServiceDiscovery.ResolvedTarget
apply(java.lang.String host, scala.Option<java.lang.Object> port, scala.Option<java.net.InetAddress> address)
-
-
-
Field Detail
-
MODULE$
public static final ServiceDiscovery.ResolvedTarget$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
addressOrdering
public scala.math.Ordering<ServiceDiscovery.ResolvedTarget> addressOrdering()
-
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 targetport
- optional port numberaddress
- IP address of the target. This is used during cluster bootstap when available.
-
-