com.twitter.finagle.service

FailureAccrualFactory

Related Docs: class FailureAccrualFactory | package service

object FailureAccrualFactory

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FailureAccrualFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Param extends AnyRef

    An ADT representing a FailureAccrualFactorys Stack.Param, which is one of the following:

    An ADT representing a FailureAccrualFactorys Stack.Param, which is one of the following:

    1. Param.Configured - configures failure accrual 2. Param.Replaced - replaces the standard implementation with the given one 3. Param.Disabled - completely disables this role in the underlying stack

  2. sealed trait State extends AnyRef

    Attributes
    protected[com.twitter.finagle]

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. object Alive extends State with Product with Serializable

    Attributes
    protected[com.twitter.finagle]
  5. object Dead extends State with Product with Serializable

    Attributes
    protected[com.twitter.finagle]
  6. def Param(numFailures: Int, markDeadFor: Duration): Param

    Configures the FailureAccrualFactory.

    Configures the FailureAccrualFactory.

    numFailures

    The number of consecutive failures before marking an endpoint as dead.

    markDeadFor

    The duration to mark an endpoint as dead.

  7. def Param(numFailures: Int, markDeadFor: () ⇒ Duration): Param

    Configures the FailureAccrualFactory.

    Configures the FailureAccrualFactory.

    Note there is a Java-friendly method in the API that takes Duration as a value, not a function.

    numFailures

    The number of consecutive failures before marking an endpoint as dead.

    markDeadFor

    The duration to mark an endpoint as dead.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

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

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

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

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

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

    Creates a com.twitter.finagle.Stackable com.twitter.finagle.service.FailureAccrualFactory.

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def perturb(markDeadFor: Duration, perturbation: Float = 0.1f, rand: Random = rng): () ⇒ Duration

    Add jitter in markDeadFor to reduce correlation.

    Add jitter in markDeadFor to reduce correlation. Return a () => Duration type that can be used in Param.

  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
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped