code: @Override
      public void releaseConnection(long leaseDurationNanos) {
          concurrentConnectionCountHistogram.update(concurrentConnectionCount.decrementAndGet());
          long leaseDurationMillis = TimeUnit.NANOSECONDS.toMillis(leaseDurationNanos);
          connectionLeaseTimer.update(leaseDurationMillis, TimeUnit.MILLISECONDS);
          if (leaseDurationMillis > connectionLeaseTimeThresholdMillis) {
              eventPublisher.publish(new ConnectionLeaseTimeThresholdExceededEvent(
                      uniqueName, connectionLeaseTimeThresholdMillis, leaseDurationMillis
              ));
              LOGGER.info("Connection leased for {} millis, while threshold is set to {} in {} FlexyPoolDataSource",
                      leaseDurationMillis, connectionLeaseTimeThresholdMillis, uniqueName);
          }
      }
docs: {@inheritDoc}