Packages

final case class EndpointSubset(addresses: Option[Seq[EndpointAddress]] = None, notReadyAddresses: Option[Seq[EndpointAddress]] = None, ports: Option[Seq[EndpointPort]] = None) extends Product with Serializable

EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:

{ Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] }

The resulting set of endpoints can be viewed as:

a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]

Source
EndpointSubset.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EndpointSubset
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EndpointSubset(addresses: Option[Seq[EndpointAddress]] = None, notReadyAddresses: Option[Seq[EndpointAddress]] = None, ports: Option[Seq[EndpointPort]] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAddresses(newValues: EndpointAddress*): EndpointSubset

    Appends new values to addresses

  5. def addNotReadyAddresses(newValues: EndpointAddress*): EndpointSubset

    Appends new values to notReadyAddresses

  6. def addPorts(newValues: EndpointPort*): EndpointSubset

    Appends new values to ports

  7. val addresses: Option[Seq[EndpointAddress]]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def mapAddresses(f: (Seq[EndpointAddress]) => Seq[EndpointAddress]): EndpointSubset

    if addresses has a value, transforms to the result of function

  15. def mapNotReadyAddresses(f: (Seq[EndpointAddress]) => Seq[EndpointAddress]): EndpointSubset

    if notReadyAddresses has a value, transforms to the result of function

  16. def mapPorts(f: (Seq[EndpointPort]) => Seq[EndpointPort]): EndpointSubset

    if ports has a value, transforms to the result of function

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. val notReadyAddresses: Option[Seq[EndpointAddress]]
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val ports: Option[Seq[EndpointPort]]
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. def withAddresses(value: Seq[EndpointAddress]): EndpointSubset

    Returns a new data with addresses set to new value

  28. def withNotReadyAddresses(value: Seq[EndpointAddress]): EndpointSubset

    Returns a new data with notReadyAddresses set to new value

  29. def withPorts(value: Seq[EndpointPort]): EndpointSubset

    Returns a new data with ports set to new value

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped