The dimension value cache is implemented by the class atg.commerce.endeca.cache.DimensionValueCache class. This class uses objects of class atg.commerce.endeca.cache.DimensionValueCacheObject for storing cache entries. The cache is a ConcurrentHashMap, where each key is an ATG category ID, and the corresponding map value is an instance of DimensionValueCacheObject.

The DimensionValueCacheObject class stores the following information about a dimension value:

Note that a single key can be associated with multiple DimensionValueCacheObject instances, because a category can have multiple parent categories. Therefore when a DimensionValueCache is used to look up the dimension value for a specific repository ID, the results are returned as a List of DimensionValueCacheObject instances (although in many cases the List may have only one entry).


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices