Package

com.twitter.finagle

liveness

Permalink

package liveness

Visibility
  1. Public
  2. All

Type Members

  1. class FailureAccrualFactory[Req, Rep] extends ServiceFactory[Req, Rep]

    Permalink

    A com.twitter.finagle.ServiceFactory that accrues failures, marking itself unavailable when deemed unhealthy according to its configuration.

    A com.twitter.finagle.ServiceFactory that accrues failures, marking itself unavailable when deemed unhealthy according to its configuration.

    This acts as a request driven circuit breaker.

    When used in a typical Finagle client, there is one instance per node and as such, the load balancer will avoid nodes that are marked down via failure accrual.

    See also

    The user guide for more details.

  2. abstract class FailureAccrualPolicy extends AnyRef

    Permalink

    A FailureAccrualPolicy is used by FailureAccrualFactory to determine whether to mark an endpoint dead upon a request failure.

    A FailureAccrualPolicy is used by FailureAccrualFactory to determine whether to mark an endpoint dead upon a request failure. On each successful response, FailureAccrualFactory calls recordSuccess(). On each failure, FailureAccrualFactory calls markDeadOnFailure() to obtain the duration to mark the endpoint dead for; (Some(Duration)), or None.

    See also

    The user guide for more details.

  3. final class FailureDetectors extends AnyRef

    Permalink

Value Members

  1. object FailureAccrualFactory

    Permalink
  2. object FailureAccrualPolicy

    Permalink
  3. object FailureDetector

    Permalink

    Companion object capable of creating a FailureDetector based on parameterized config.

  4. object sessionFailureDetector extends GlobalFlag[String]

    Permalink

    GlobalFlag to configure FailureDetection used only in the absence of any app-specified config.

    GlobalFlag to configure FailureDetection used only in the absence of any app-specified config. This is the default behavior.

    Value of: "none": turn off threshold failure detector "threshold:minPeriod:threshold:win:closeTimeout": use the specified configuration for failure detection

Ungrouped