static CircuitBreakerMapping perHostAndMethod(
            BiFunction<String, String, ? extends CircuitBreaker> factory) {
        requireNonNull(factory, "factory");
        return builder().perHost().perMethod().build((host, method, path) -> factory.apply(host, method));
    }
Creates a new {@link CircuitBreakerMapping} which maps {@link CircuitBreaker}s with the remote host and
method name.

@param factory the function that takes the remote host and method name and
               creates a new {@link CircuitBreaker}
core/src/main/java/com/linecorp/armeria/client/circuitbreaker/CircuitBreakerMapping.java