docs: public TaxonomyTerm resolveTaxonomyTerm(final String taxonomy, final String name) throws SQLException {
        TaxonomyTerm term;
        Cache<String, TaxonomyTerm> taxonomyTermCache = taxonomyTermCaches.get(taxonomy);
        if(taxonomyTermCache != null) {
           metrics.taxonomyTermCacheTries.mark();
           term = taxonomyTermCache.getIfPresent(name);
           if(term != null) {
              metrics.taxonomyTermCacheHits.mark();
              return term;
           }
        }
  
        term = selectTaxonomyTerm(taxonomy, name);
        if(term != null && taxonomyTermCache != null) {
           taxonomyTermCache.put(name, term);
        }
  
        return term;
     }