final class ResolvedTarget extends AnyRef
Resolved target host, with optional port and the IP address.
- Source
- ServiceDiscovery.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ResolvedTarget
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ResolvedTarget(host: String, port: Option[Int], address: Option[InetAddress])
- host
the hostname or the IP address of the target
- port
optional port number
- address
optional IP address of the target. This is used during cluster bootstap when available.
Value Members
- val address: Option[InetAddress]
-
def
equals(obj: Any): Boolean
- Definition Classes
- ResolvedTarget → AnyRef → Any
-
def
getAddress: Optional[InetAddress]
Java API
-
def
getPort: Optional[Int]
Java API
-
def
hashCode(): Int
- Definition Classes
- ResolvedTarget → AnyRef → Any
- val host: String
- val port: Option[Int]
-
def
toString(): String
- Definition Classes
- ResolvedTarget → AnyRef → Any