docs: public CircuitBreakerState createCircuitBreakerState(CircuitBreakerPolicy policy, MetricRecorder metricRecorder) {
          if (policy == null) {
              return new CircuitBreakerStateNullImpl();
          } else {
              return new CircuitBreakerStateImpl(policy, metricRecorder);
          }
      }