You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.3 KiB
1.3 KiB
LINGYUN.Abp.CachingManagement.Domain
Domain layer implementation of the cache management module.
Core Interfaces
ICacheManager
Cache manager interface, defining core cache management functionality:
GetKeysAsync: Get cache key listGetValueAsync: Get cache valueSetAsync: Set cache valueRefreshAsync: Refresh cacheRemoveAsync: Remove cache
Domain Services
CacheManager
Abstract base class for cache manager, providing basic cache management implementation. Specific cache providers (like Redis) need to inherit this class and implement the corresponding methods.
Installation
abp add-module LINGYUN.Abp.CachingManagement
Extension Development
To support a new cache provider, you need to:
- Create a new project, inherit from
CacheManagerclass - Implement all abstract methods
- Register as implementation of
ICacheManager(using[Dependency(ReplaceServices = true)])
More
For more information, please refer to the following resources: