code: public void updateRecordMetrics() {
      for (Optional<Fork> fork : this.forks.keySet()) {
        if (fork.isPresent()) {
          fork.get().updateRecordMetrics();
        }
      }
    }
docs: Update record-level metrics.