PriceCache allows you to cache the prices in price lists. Price lists can contain a large number of prices. If you do not want the PriceCache to hold all the prices in the prices list, adjust the PriceCache settings in your liveconfig directory. The PriceCache settings are located in liveconfig/atg/commerce/pricing/priceLists/PriceCache.properties.

These properties include the following:

Property

Description

maximumCacheEntries

Sets the maximum number of entries in the cache. You can disable caching by setting this property to 0. Setting this property to -1 removes any limits on the number of cache entries. This property defaults to -1.

maximumCacheSize

Sets the maximum size of the cache in bytes. You can disable cache sizes by setting this property to 0. Setting this property to -1 removes any limits on cache size. This property defaults to -1.

maximumEntryLifetime

Sets the maximum time, in milliseconds, that an entry exists in a cache. You can disable cache lifetimes by setting this property to 0. Setting this property to -1 removes any limits on the expiration of cache entries. This property defaults to -1.

maximumEntrySize

Sets the maximum number of bytes contained in a single cache entry. You can disable cache entry sizes by setting this property to 0. Setting this property to -1 removes any limits on the size of cache entries. This property defaults to -1.


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