docs: private static void collectUidStats(final UniqueId uid,
                                        final StatsCollector collector) {
      collector.record("uid.cache-hit", uid.cacheHits(), "kind=" + uid.kind());
      collector.record("uid.cache-miss", uid.cacheMisses(), "kind=" + uid.kind());
      collector.record("uid.cache-size", uid.cacheSize(), "kind=" + uid.kind());
      collector.record("uid.random-collisions", uid.randomIdCollisions(),
          "kind=" + uid.kind());
      collector.record("uid.rejected-assignments", uid.rejectedAssignments(),
          "kind=" + uid.kind());
    }