Sets a per-request timeout, scoped to f
.
Sets a per-request timeout, scoped to f
. It only works in conjunction
with a client using the perRequestModule installed in its stack.
This applies to each attempt such that if there are retry requests, each of them will have the same timeout.
no timeout will be applied if timeout
is less than or
equal to zero or if it is not finite.
This is similar in concept to com.twitter.finagle.builder.ClientBuilder.requestTimeout, but allows for the timeouts to be dynamic and changed at runtime.
TimeoutFilter
Sets a total request timeout, scoped to f
.
Sets a total request timeout, scoped to f
. It only works in conjunction
with a client using totalFilter.
This applies to the total request time, including retries.
no timeout will be applied if timeout
is less than or
equal to zero or if it is not finite.
This is similar in concept to com.twitter.finagle.builder.ClientBuilder.timeout, but allows for the timeouts to be dynamic and changed at runtime.
TimeoutFilter
A client module that produces a TimeoutFilter for the stack, which allows for dynamic per-request timeouts (e.g.
A client module that produces a TimeoutFilter for the stack, which allows for dynamic per-request timeouts (e.g. retry requests).
This has a similar purpose to using com.twitter.finagle.param.CommonParams.withRequestTimeout, while allowing the timeout to be dynamic.
Note that any LatencyCompensation is added to timeouts.
TimeoutFilter
totalFilter for a total timeout including all retries.
Used for the creation of Stack modules that have dynamic timeouts.
LatencyCompensation
TimeoutFilter