docs: public User resolveUser(final long userId) throws SQLException {
        metrics.userCacheTries.mark();
        User user = userCache.getIfPresent(userId);
        if(user != null) {
           metrics.userCacheHits.mark();
           return user;
        } else {
           user = selectUser(userId);
           if(user != null) {
              userCache.put(userId, user);
           }
           return user;
        }
     }