final case class Endpoint(addresses: Seq[String], conditions: Option[EndpointConditions] = None, targetRef: Option[ObjectReference] = None, hostname: Option[String] = None, nodeName: Option[String] = None, hints: Option[EndpointHints] = None, deprecatedTopology: Option[Map[String, String]] = None, zone: Option[String] = None) extends Product with Serializable
Endpoint represents a single logical "backend" implementing a service.
- Source
- Endpoint.scala
- Alphabetic
- By Inheritance
- Endpoint
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Endpoint(addresses: Seq[String], conditions: Option[EndpointConditions] = None, targetRef: Option[ObjectReference] = None, hostname: Option[String] = None, nodeName: Option[String] = None, hints: Option[EndpointHints] = None, deprecatedTopology: Option[Map[String, String]] = None, zone: Option[String] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAddresses(newValues: String*): Endpoint
Appends new values to addresses
- def addDeprecatedTopology(newValues: (String, String)*): Endpoint
Adds new values to deprecatedTopology
- val addresses: Seq[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val conditions: Option[EndpointConditions]
- val deprecatedTopology: Option[Map[String, String]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hints: Option[EndpointHints]
- val hostname: Option[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapAddresses(f: (Seq[String]) => Seq[String]): Endpoint
transforms addresses to result of function
- def mapConditions(f: (EndpointConditions) => EndpointConditions): Endpoint
if conditions has a value, transforms to the result of function
- def mapDeprecatedTopology(f: (Map[String, String]) => Map[String, String]): Endpoint
if deprecatedTopology has a value, transforms to the result of function
- def mapHints(f: (EndpointHints) => EndpointHints): Endpoint
if hints has a value, transforms to the result of function
- def mapHostname(f: (String) => String): Endpoint
if hostname has a value, transforms to the result of function
- def mapNodeName(f: (String) => String): Endpoint
if nodeName has a value, transforms to the result of function
- def mapTargetRef(f: (ObjectReference) => ObjectReference): Endpoint
if targetRef has a value, transforms to the result of function
- def mapZone(f: (String) => String): Endpoint
if zone has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodeName: Option[String]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val targetRef: Option[ObjectReference]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAddresses(value: Seq[String]): Endpoint
Returns a new data with addresses set to new value
- def withConditions(value: EndpointConditions): Endpoint
Returns a new data with conditions set to new value
- def withDeprecatedTopology(value: Map[String, String]): Endpoint
Returns a new data with deprecatedTopology set to new value
- def withHints(value: EndpointHints): Endpoint
Returns a new data with hints set to new value
- def withHostname(value: String): Endpoint
Returns a new data with hostname set to new value
- def withNodeName(value: String): Endpoint
Returns a new data with nodeName set to new value
- def withTargetRef(value: ObjectReference): Endpoint
Returns a new data with targetRef set to new value
- def withZone(value: String): Endpoint
Returns a new data with zone set to new value
- val zone: Option[String]