集成,总结MES功能
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.
 
 
 
 

16 lines
514 B

  1. namespace BPA.MES.Base.Application
  2. {
  3. public interface ISysCacheService
  4. {
  5. Task AddCacheKey(string cacheKey);
  6. Task DelCacheKey(string cacheKey);
  7. bool Exists(string cacheKey);
  8. Task<List<string>> GetAllCacheKeys();
  9. Task<T> GetAsync<T>(string cacheKey);
  10. Task<string> GetStringAsync(string cacheKey);
  11. Task RemoveAsync(string key);
  12. Task SetAsync(string cacheKey, object value);
  13. Task SetStringAsync(string cacheKey, string value);
  14. }
  15. }