public SELF onTotalDuration(
            BiPredicate<? super ClientRequestContext, ? super Duration> totalDurationFilter) {
        this.totalDurationFilter = combinePredicates(this.totalDurationFilter, totalDurationFilter,
                                                     "totalDurationFilter");
        return self();
    }
Adds the specified {@code totalDurationFilter}.

<p>When this is used for a {@link CircuitBreakerRule}, and the specified {@code totalDurationFilter}
returns {@code true}, a {@link Response} is reported as a success or
failure to a {@link CircuitBreaker} or ignored depending on the build methods({@code #thenSuccess()},
{@code #thenFailure()} and {@code #thenIgnore()}).
core/src/main/java/com/linecorp/armeria/client/AbstractRuleBuilder.java