final class Lookup extends NoSerializationVerificationNeeded
Ordering
- Alphabetic
- By Inheritance
Inherited
- Lookup
- NoSerializationVerificationNeeded
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Lookup(serviceName: String, portName: Option[String], protocol: Option[String])
- new Lookup(serviceName: String, portName: Option[String], protocol: Option[String], discardCache: Boolean)
- serviceName
must not be 'null' or an empty String
- discardCache
Ask the discovery implementation to drop any cached result and do a new resolution. Optionally supported by implementations.
Value Members
- val discardCache: Boolean
- def equals(obj: Any): Boolean
- Definition Classes
- Lookup → AnyRef → Any
- def getPortName: Optional[String]
Java API
- def getProtocol: Optional[String]
Java API
- def hashCode(): Int
- Definition Classes
- Lookup → AnyRef → Any
- val portName: Option[String]
- val protocol: Option[String]
- val serviceName: String
- def toString(): String
- Definition Classes
- Lookup → AnyRef → Any
- def withDiscardCache: Lookup
Ask the discovery implementation to drop any cached result and do a new resolution.
Ask the discovery implementation to drop any cached result and do a new resolution. Optionally supported by implementations.
- def withPortName(value: String): Lookup
Which port for a service e.g.
Which port for a service e.g. Akka remoting or HTTP. Maps to "service" for an SRV records.
- def withProtocol(value: String): Lookup
Which protocol e.g.
Which protocol e.g. TCP or UDP. Maps to "protocol" for SRV records.
A service lookup. It is up to each method to decide what to do with the optional portName and protocol fields. For example
portName
could be used to distinguish between Akka remoting ports and HTTP ports.