code: public void noteOpenConnection(ServerStats serverStats) {
          if (serverStats == null) {
              return;
          }
          try {
              serverStats.incrementActiveRequestsCount();
          } catch (Exception ex) {
              logger.error("Error noting stats for client {}", clientName, ex);
          }            
      }
docs: This is usually called just before client execute a request.