|
- using HealthMonitor.Util.Models;
-
- namespace HealthMonitor.Core.Cache
- {
- public interface IDurableEntityManager
- {
-
-
-
-
-
- IEntityCacheHandler? GetCacheHandler(Type entityType);
-
-
-
-
-
-
-
- string CalcCacheKey(Type entityType, string id);
-
-
-
-
-
-
-
- string CalcCacheKey(Type entityType, GeneralParam conditions);
-
-
-
-
-
-
-
-
-
- string CalcHistoryCacheKey(Type entityType, string id, string imei, DateTime? date = null);
-
-
-
-
-
-
-
-
-
- string CalcHistoryCacheKey(Type entityType, GeneralParam conditions, string imei, DateTime? date = null);
-
-
-
-
- void CleanUpEntitiesMapper();
- }
- }
|