code: public void updateCounter(final String iStatName, final long iPlus) {
      if (iStatName == null)
        return;
  
      // CHECK IF STATISTICS ARE ACTIVED
      if (recording < 0)
        return;
  
      synchronized (counters) {
        Long stat = counters.get(iStatName);
  
        long oldValue = stat == null ? 0 : stat.longValue();
  
        stat = new Long(oldValue + iPlus);
  
        counters.put(iStatName, stat);
      }
    }
docs: /*
  (non-Javadoc)