code: @Override
    public @Nullable V getIfPresent(Object key, boolean recordStats) {
      V value = data.get(key);
  
      if (recordStats) {
        if (value == null) {
          statsCounter.recordMisses(1);
        } else {
          statsCounter.recordHits(1);
        }
      }
      return value;
    }
docs: /* --------------- Cache ---------------