public static CompoundName from(String name) {
        CompoundName found = cache.get(name);
        if (found != null) return found;

        if (cache.size() < MAX_CACHE_SIZE) {
            CompoundName compound = new CompoundName(name, true);
            cache.put(name, compound);
            return compound;
        }
        return new CompoundName(name, false);
    }
Creates a CompoundName from a string, possibly reusing from cache.
 Prefer over constructing on the fly.
container-core/src/main/java/com/yahoo/processing/request/CompoundName.java