code: private void handleBindStat(long elapsedTime) {
          String METHODNAME = "handleBindStat(long)";
          if (elapsedTime < LDAP_CONNECT_TIMEOUT_TRACE) {
              QUICK_LDAP_BIND.getAndIncrement();
          }
  
          long now = System.currentTimeMillis();
  
          /*
           * Print out at most every 30 minutes the latest number of "quick" binds
           */
          if (now - LDAP_STATS_TIMER.get() > 1800000) {
              //Update the last update time, then make certain no one beat us to it
              long lastUpdated = LDAP_STATS_TIMER.getAndSet(now);
              if (now - lastUpdated > 1800000) {
                  if (tc.isDebugEnabled())
                      Tr.debug(tc, METHODNAME + " **LDAPBindStat: " + QUICK_LDAP_BIND.get() + " binds took less then " + LDAP_CONNECT_TIMEOUT_TRACE + " ms");
              }
          }
      }
docs: Track the count of "quick" binds. Dump the updated statistic to the log at most once every 30 seconds.
  
  @param elapsedTime The time in milliseconds that the bind took