code: private void doConnectionMonitoring(long startingInstant, String monitorSuffix) {
      InApplicationMonitor.getInstance()
      .addTimerMeasurement(this.monitorBaseName + monitorSuffix,
        System.currentTimeMillis() - startingInstant);
  
      int noCurrentConnections = this.currentConnections.incrementAndGet();
      if (noCurrentConnections > this.maxConnections.get()) {
        this.maxConnections.set(noCurrentConnections);
      }
    }
docs: Handles the monitoring for retrieving connections and adapts the <i>max connection</i> counter if appropriate.
  
  @param   startingInstant
  the instant a database connection was requested
  @param   monitorSuffix
  the suffix for the monitor name to increase