Package com.yahoo.search.query.profile
Class CompoundNameChildCache
java.lang.Object
com.yahoo.search.query.profile.CompoundNameChildCache
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
CompoundNameChildCache
public CompoundNameChildCache()
-
-
Method Details
-
append
public com.yahoo.processing.request.CompoundName append(com.yahoo.processing.request.CompoundName prefix, String suffix)
-