Custom Dependency
Note
This feature is only available in NCache Enterprise Edition.
NCache provides a Custom Dependency feature that allows you to remove data from the cache based on your custom logic. Additionally, it enables you to use the logic for a different database instead of the default ones supported by NCache. For example, you can use Custom Dependency to write your custom logic that makes a call to a web service for the invalidation of data depending upon your application's functionality.
In Custom Dependency, the concept of multi-threading has been incorporated. This means that instead of checking multiple dependencies sequentially, multiple threads are introduced to check dependency and perform invalidation in parallel.
There are three types of Custom Dependencies supported in NCache:
- Extensible Dependency
- Bulk Extensible Dependency
- Notification Based Extensible Dependency
In This Section
Extensible Dependency Usage and Implementation
Explains how to use and implement Extensible Dependency in NCache.
Bulk Extensible Dependency Usage and Implementation
Explains how to use and implement Bulk Extensible Dependency in NCache.
Notification Based Extensible Dependency Usage and Implementation
Explains how to use and implement Notification Based Extensible Dependency in NCache.