AdvantageCacheManager Members
The AdvantageCacheManager type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
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.
|
|
|
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 | |
|---|---|---|
|
|
ClearItem |
Removes a single cached item identified by the specified key.
The key is automatically scoped by domain and language.
|
|
|
Get<(Of <<'(T>)>>) |
Retrieves a cached object of type T stored under the specified key.
The key is automatically scoped by domain and language.
|
|
|
Invalidate |
Removes all cached items that belong to the specified categories.
Categories are automatically scoped by domain and language before invalidation.
|
|
|
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.
|

