docs: public synchronized CircuitBreaker<R> withSuccessThreshold(int successes, int executions) {
      Assert.isTrue(successes >= 1, "successes must be greater than or equal to 1");
      Assert.isTrue(executions >= 1, "executions must be greater than or equal to 1");
      Assert.isTrue(executions >= successes, "executions must be greater than or equal to successes");
      this.successThreshold = new Ratio(successes, executions);
      state.get().setSuccessThreshold(successThreshold);
      return this;
    }