Cache Notifications Methods (Velocity)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Microsoft project code named "Velocity" allows your cache-enabled application to receive cache notifications. Use methods listed in the table when working with cache notifications. For more information, see Cache Notifications (Velocity).
Note
You must enable cache notifications with the PowerShell-based cache administration tool using the notificationsEnabled
parameter of the New-Cache
or Set-CacheConfig
commands before it is available to use. For more information, see Cache Administration with PowerShell (Velocity).
Method | Description |
---|---|
The parameterized DataCacheFactory constructor allows you to programmatically configure your cache client. By using this constructor, you can specify a cache notification poll interval value different than the default 300 seconds. Your cache-enabled application should minimize the number of DataCacheFactory objects it instantiates. Store the DataCacheFactory object in a variable that is available to all parts of the application that use the cache client. |
|
This method adds a cache notification callback for cache operations with a cache-level notification scope. Use this method when you want to be notified of region and item-based cache operations occurring on all regions and items. |
|
This method adds a cache notification callback for cache operations with a region-level notification scope. Use this method when you want to be notified of region and item-based cache operations occurring on one specific region. |
|
This method adds a cache notification callback for cache operations with an item-level notification scope. Use this method when you want to be notified of item-based cache operations occurring on one specific item. |
|
This method allows your application to be notified when it has missed some notifications. |
|
This method allows your application to remove a cache notification callback. |
See Also
Concepts
Configuration Methods (Velocity)
Cache Clients and Local Cache (Velocity)
Concurrency Methods (Velocity)
Class Overview (Velocity)
Basic Cache Methods (Velocity)
Tag-Based Methods (Velocity)
Other Resources
Configuring the Cache Client with XML (Velocity)
Using Configuration Methods (Velocity)
Using Basic Cache Methods (Velocity)
Cache Concepts (Velocity)