Class CompoundNameChildCache


  • public final class CompoundNameChildCache
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.yahoo.processing.request.CompoundName append​(com.yahoo.processing.request.CompoundName prefix, java.lang.String suffix)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompoundNameChildCache

        public CompoundNameChildCache()
    • Method Detail

      • append

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