Object

com.twitter.finagle.client

LatencyCompensation

Related Doc: package client

Permalink

object LatencyCompensation

Latency compensation enables the modification of connection and request timeouts on a per-endpoint basis. For instance, if a client has both network-local and trans-continental endpoints, a reasonable latency compensator might add the speed-of-light penalty when communicating with distant endpoints.

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

Type Members

  1. case class Compensator(compensator: (Metadata) ⇒ Duration) extends Product with Serializable

    Permalink

    A compensator is a function that takes an arbitrary address metadata map and computes a latency compensation.

    A compensator is a function that takes an arbitrary address metadata map and computes a latency compensation. This compensation can be added to connection and request timeouts. Latency compensation is exposed to the stack via a Stack.Param LatencyCompensation.Compensation.

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. object Compensator extends Serializable

    Permalink
  5. object DefaultOverride

    Permalink

    If configured, overrides the default Compensator used in all un-configured clients.

    If configured, overrides the default Compensator used in all un-configured clients. If a caller configures a Compensator, the override value will not be used in favor of the caller-configured value.

  6. object Role extends Role

    Permalink
  7. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  15. def module[Req, Rep]: Stackable[ServiceFactory[Req, Rep]]

    Permalink
  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. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped