code: @Override
      public final void updateThroughput(long currentTime, boolean force) {
          int interval = (int) (currentTime - lastThroughputCalculationTime);
  
          long minInterval = getConfig().getThroughputCalculationIntervalInMillis();
          if (minInterval == 0 || interval < minInterval) {
              if (!force) {
                  return;
              }
          }
  
          readBytesThroughput = (readBytes - lastReadBytes) * 1000.0 / interval;
          writtenBytesThroughput = (writtenBytes - lastWrittenBytes) * 1000.0 / interval;
          readMessagesThroughput = (readMessages - lastReadMessages) * 1000.0 / interval;
  
          lastReadBytes = readBytes;
          lastWrittenBytes = writtenBytes;
          lastReadMessages = readMessages;
  
          lastThroughputCalculationTime = currentTime;
      }
docs: {@inheritDoc}