Export (0) Print
Expand All

CacheManager Object

Commerce Server 2009

Use this object to establish and use a collection of data caches. Each data cache is either a Dictionary object or an LRUCache object. You can specify which one you would like to use by setting the CacheObjectProgID property.

ProgID:

Commerce.CacheManager (Externally creatable)

COM Class Name:

CacheManager

Type Library Name:

Microsoft Commerce Server Cache Manager Type Library

DLL Name:

mscscache.dll

Threading Model:

Both

COM Interface Name:

ICacheManager

Interface ID Constant:

IID_ICacheManager

Header File:

None

Method

Description

GetCache

Retrieves the data cache Dictionary object associated with a specified data cache name.

RefreshCache

Forces an immediate, synchronous refresh of the cache.

Property

Description

AppUrl

Stores the full URL of the application.

This property is read/write.

CacheObjectProgId

Stores the ProgID for the object that is to be used for cache functions internally within the CacheManager object. Determines the type of object returned by the GetCache method.

This property is read/write.

LoaderConfig

Stores the configuration Dictionary object that should be passed to the Loader component.

This property is read/write.

LoaderProgId

Stores the ProgID of the component used to create and populate a data cache.

This property is read/write.

RefreshInterval

Stores the number of seconds between automatic cache refresh operations.

This property is read/write.

RetryInterval

Stores the number of seconds to wait before retrying after a cache load has failed.

This property is read/write.

WriterConfig

Stores the configuration Dictionary object that should be passed to the Writer component.

This property is read/write.

WriterProgId

Stores the ProgID of the component used to write out some type of data that has been accumulated since the last refresh. Advertising event data is one example of the type of data that might be accumulated.

This property is read/write.

Show:
© 2014 Microsoft