docs: public Optional<Long> findGlobalIdPk(GlobalId globalId, Session session) {
          if (disableCache){
              return findGlobalIdPkInDB(globalId, session);
          }
  
          Long foundPk = globalIdPkCache.getIfPresent(globalId);
  
          if (foundPk != null){
              return Optional.of(foundPk);
          }
  
          Optional<Long> fresh = findGlobalIdPkInDB(globalId, session);
          if (fresh.isPresent()){
              globalIdPkCache.put(globalId, fresh.get());
          }
  
          return fresh;
      }