Object

com.twitter.finagle.client

BackupRequestFilter

Related Doc: package client

Permalink

object BackupRequestFilter

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

Type Members

  1. case class Histogram(lowestDiscernibleMsValue: Int, highestTrackableMsValue: Int) extends Product with Serializable

    Permalink

    Define the bounds of values tracked by the histogram.

    Define the bounds of values tracked by the histogram.

    Note: this is an expert-level API; the defaults work well for the typical user.

    lowestDiscernibleMsValue

    The lowest value in milliseconds that can be discerned by the histogram.

    highestTrackableMsValue

    The highest value in milliseconds to be tracked by the histogram..

  2. sealed trait Param extends AnyRef

    Permalink

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. def Configured(maxExtraLoad: Tunable[Double], sendInterrupts: Boolean): Param

    Permalink
  5. def Configured(maxExtraLoad: Double, sendInterrupts: Boolean): Param

    Permalink

    Configure BackupRequestFilter.

    Configure BackupRequestFilter.

    maxExtraLoad

    How much extra load, as a fraction, we are willing to send to the server. Must be between 0.0 and 1.0.

    sendInterrupts

    Whether or not to interrupt the original or backup request when a response is returned and the result of the outstanding request is superseded. For protocols without a control plane, where the connection is cut on interrupts, this should be "false" to avoid connection churn.

  6. val Disabled: Param

    Permalink

    Configuration to disable BackupRequestFilter

  7. object Histogram extends Serializable

    Permalink
  8. object Param

    Permalink
  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val description: String

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def filterService[Req, Rep](params: Params, service: Service[Req, Rep]): Service[Req, Rep]

    Permalink

    Returns service with a BackupRequestFilter prepended, according to the configuration params in params.

    Returns service with a BackupRequestFilter prepended, according to the configuration params in params. If the BackupRequestFilter has not been configured, returns the same service.

    Users should only use this method for filtering generic services; otherwise, usage through the idempotent method on MethodBuilder implementations is preferred.

  15. def finalize(): Unit

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

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

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

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

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. val role: Role

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped