Class CacheDependency
Tracks cache dependencies, which can be files, directories, or keys to other objects in application's Cache. This class cannot be inherited.
Inheritance
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class CacheDependency : IDisposable
Remarks
You can add items with dependencies to your application's cache with the
When you add an item to an application's
Constructors
Name | Description |
---|---|
Cache |
Default constructor for CacheDependency class |
Cache |
Creates a CacheDependency instance from extensible dependency. |
Cache |
Initializes a new instance of the Cache |
Cache |
Initializes a new instance of the Cache |
Cache |
Initializes a new instance of the CacheDependency class that monitors an array of file paths (to files or directories) for changes. |
Cache |
Initializes a new instance of the Cache |
Cache |
Initializes a new instance of the Cache |
Cache |
Initializes a new instance of the Cache |
Cache |
Initializes a new instance of the Cache |
Cache |
Initializes a new instance of the Cache |
Properties
Name | Description |
---|---|
Dependencies | Contains the List of Dependencies for the Cache Item |
Methods
Name | Description |
---|---|
Add |
AddDependencies is use to Add dependencies for the Cache Item |
Dependency |
Release custom resources used by the Cache |
Dispose() | Releases the resources used by the Cache |