שתף באמצעות


CacheConfiguration Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

This class contains the members to configure the timeouts for the various elements in the cache.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class CacheConfiguration
'Usage
Dim instance As CacheConfiguration
[SerializableAttribute]
public class CacheConfiguration
[SerializableAttribute]
public ref class CacheConfiguration
public class CacheConfiguration

Remarks

Datasets returned by various catalog methods will be cached for a configurable duration. The CacheConfiguration class configures these time durations. The default cache timeout values are 5 minutes.

The member fields contained within the CacheConfiguration include:

  • Schema Cache Timeout

  • Item Information Cache Timeout

  • Item Hierarchy Cache Timeout

  • Item Relationships Cache Timeout

  • Item Associations Cache Timeout

  • Catalog Collection Cache Timeout

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Catalog..::.CacheConfiguration

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CacheConfiguration Members

Microsoft.CommerceServer.Catalog Namespace