Object/Class

com.twitter.finagle.liveness

FailureAccrualFactory

Related Docs: class FailureAccrualFactory | package liveness

Permalink

object FailureAccrualFactory

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

Type Members

  1. sealed trait Param extends AnyRef

    Permalink

    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

    Permalink
    Attributes
    protected[com.twitter.finagle]

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 Alive extends State

    Permalink
    Attributes
    protected[com.twitter.finagle]
  5. object Dead extends State

    Permalink
    Attributes
    protected[com.twitter.finagle]
  6. def Param(failureAccrualPolicy: () ⇒ FailureAccrualPolicy): Param

    Permalink

    Configures the FailureAccrualFactory.

    Configures the FailureAccrualFactory.

    failureAccrualPolicy

    The policy to use to determine when to mark an endpoint as dead.

    See also

    The user guide for more details.

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

    Permalink

    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.

    See also

    The user guide for more details.

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

    Permalink

    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.

    See also

    The user guide for more details.

  9. object ProbeClosed extends State

    Permalink
    Attributes
    protected[com.twitter.finagle]
  10. object ProbeOpen extends State

    Permalink
    Attributes
    protected[com.twitter.finagle]
  11. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  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

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

  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. def perturb(markDeadFor: Duration, perturbation: Float = 0.1f, rand: Random = rng): () ⇒ Duration

    Permalink

    Add jitter in markDeadFor to reduce correlation.

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

  24. val role: Role

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped