docs: public void schedulePeriodicStats() {
          timer = new Timer();
          TimerTask statsPrinting = new TimerTask() {
                  @Override
                  public void run() { printStatistics(); }
              };
          timer.scheduleAtFixedRate(statsPrinting,
                                    config.displayinterval * 1000,
                                    config.displayinterval * 1000);
      }