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
Configures the FailureAccrualFactory.
Configures the FailureAccrualFactory.
The policy to use to determine when to mark an endpoint as dead.
The user guide for more details.
Configures the FailureAccrualFactory.
Configures the FailureAccrualFactory.
The number of consecutive failures before marking an endpoint as dead.
The duration to mark an endpoint as dead.
The user guide for more details.
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.
The number of consecutive failures before marking an endpoint as dead.
The duration to mark an endpoint as dead.
The user guide for more details.
Creates a com.twitter.finagle.Stackable com.twitter.finagle.liveness.FailureAccrualFactory.
Add jitter in markDeadFor
to reduce correlation.
Add jitter in markDeadFor
to reduce correlation.
Return a () => Duration type that can be used in Param.