AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageCacheManager Members

The AdvantageCacheManager type exposes the following members.

Constructors


  Name Description
Public method AdvantageCacheManager(eAdvantageCacheContainerType, Int32, Int32)
Initializes a new instance of the AdvantageCacheManager class using a web-server cache container. For database-backed caching, use the overload that accepts a SQL connection.
Public method AdvantageCacheManager(eAdvantageCacheContainerType, Int32, Int32, SQL)
Initializes a new instance of the AdvantageCacheManager class with an optional SQL connection for database-backed caching.

Methods


  Name Description
Public method ClearItem
Removes a single cached item identified by the specified key. The key is automatically scoped by domain and language.
Public method Get<(Of <<'(T>)>>)
Retrieves a cached object of type T stored under the specified key. The key is automatically scoped by domain and language.
Public method Invalidate
Removes all cached items that belong to the specified categories. Categories are automatically scoped by domain and language before invalidation.
Public method Store<(Of <<'(T>)>>)
Stores an object of type T in the cache under the specified key. The key and category are automatically scoped by domain and language.