Object/Trait

com.twitter.finagle.buoyant

DstBindingFactory

Related Docs: trait DstBindingFactory | package buoyant

Permalink

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

    Permalink
  2. class Cached[-Req, +Rsp] extends DstBindingFactory[Req, Rsp]

    Permalink

    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

    Permalink

    The capacities for each layer of dst caching.

  4. type Mk[T, Req, Rsp] = (T, ServiceFactory[Req, Rsp]) ⇒ ServiceFactory[Req, Rsp]

    Permalink

    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.

  5. case class Namer(interpreter: NameInterpreter) extends Product with Serializable

    Permalink
  6. class RefCounted[Req, Rsp] extends AnyRef

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit object BindingTimeout extends Param[BindingTimeout] with Serializable

    Permalink
  5. implicit object Capacity extends Param[Capacity] with Serializable

    Permalink
  6. object Mk

    Permalink
  7. implicit object Namer extends Param[Namer] with Serializable

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def refcount[Req, Rsp](underlying: DstBindingFactory[Req, Rsp]): RefCounted[Req, Rsp]

    Permalink
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped