Class CompoundNameChildCache


  • public final class CompoundNameChildCache
    extends Object
    Cache for compound names created through CompoundName.append(String). Creating new CompoundNames can be expensive, and since they are immutable, they are safe to cache and reuse. Use this if you will create a lot of them, by appending suffixes.
    Author:
    jonmv
    • Constructor Detail

      • CompoundNameChildCache

        public CompoundNameChildCache()
    • Method Detail

      • append

        public com.yahoo.processing.request.CompoundName append​(com.yahoo.processing.request.CompoundName prefix,
                                                                String suffix)