Packages

o

com.twitter.finagle.client

BackupRequestFilter

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

    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

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

    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

    Configuration to disable BackupRequestFilter

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. val description: String
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def filterService[Req, Rep](params: Params, service: Service[Req, Rep]): Service[Req, Rep]

    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.

  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def module[Req, Rep]: Stackable[ServiceFactory[Req, Rep]]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val role: Role
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  27. object Histogram extends Serializable
  28. object Param

Inherited from AnyRef

Inherited from Any

Ungrouped