@Override
    public synchronized boolean add(Pair<Long, Timings> o) {
      if (size() > 10) {
        if (isExcessive()) {
          myEventDispatcher.getMulticaster().excessiveOverheadDetected();
        }
        Pair<Long, Timings> first = removeFirst();
        if (first != null) {
          totalTime -= ObjectUtils.notNull(first.getSecond().myTime, 0L);
        }
      }
      totalTime += ObjectUtils.notNull(o.getSecond().myTime, 0L);
      return super.add(o);
    }
@Override
    public synchronized boolean add(Pair<Long, Timings> o)