Packages

object DstBindingFactory

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DstBindingFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class BindingTimeout (timeout: Duration) extends Product with Serializable
  2. class Cached [-Req, +Rsp] extends DstBindingFactory[Req, Rsp]

    Binds a Dst to a ServiceFactory.

    Binds a Dst to a ServiceFactory.

    Here, we're basically replicating the logic from Finagle's BindingFactory. This is done so we bind a destination before creating a client so that multiple requests to a single bound destination may share connection pools etc.

    The logic has been changed to account for the way residuals play into naming. We use the helper classes Bound and BoundTree instead of Name.Bound and NameTree[Name.Bound] so that we can control when residual paths factor into caching.

  3. case class Capacity (paths: Int, trees: Int, bounds: Int, clients: Int) extends Product with Serializable

    The capacities for each layer of dst caching.

  4. case class IdleTtl (timeout: Duration) extends Product with Serializable
  5. type Mk[T, Req, Rsp] = (T, ServiceFactory[Req, Rsp]) ⇒ ServiceFactory[Req, Rsp]

    A convenience type for a function that modifies (e.g.

    A convenience type for a function that modifies (e.g. filters) a ServiceFactory using a T-typed value.

  6. case class Namer (interpreter: NameInterpreter) extends Product with Serializable
  7. class RefCounted [Req, Rsp] extends AnyRef

    Ensures that a DstBindignFactory is only closed when all users of the factory have closed it.

    Ensures that a DstBindignFactory is only closed when all users of the factory have closed it.

    Note that acquire() / close() are only expected to be called in the context of process configuration and not, for example, in the request serving path.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  15. def refcount[Req, Rsp](underlying: DstBindingFactory[Req, Rsp]): RefCounted[Req, Rsp]
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. implicit object BindingTimeout extends Param[BindingTimeout] with Serializable
  22. implicit object Capacity extends Param[Capacity] with Serializable
  23. implicit object IdleTtl extends Param[IdleTtl] with Serializable
  24. object Mk
  25. implicit object Namer extends Param[Namer] with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped