An ADT representing a FailureAccrualFactorys Stack.Param, which is one of the following:
Configures the FailureAccrualFactory.
Configures the FailureAccrualFactory.
The policy to use to determine when to mark an endpoint as dead.
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.
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.
Creates a com.twitter.finagle.Stackable com.twitter.finagle.service.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.