123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- using System;
- using System.Collections.Generic;
- namespace CP.Cache
- {
-
-
-
- public interface ICache
- {
-
-
-
-
-
- bool IsExist(string key);
-
-
-
-
-
-
- void AddObject<T>(string key, T o, int t = 0);
-
-
-
-
- T GetObject<T>(string key);
-
-
-
-
- void RemoveObject(string key);
-
-
-
-
- void RemoveObjectByRegex(string key);
-
-
-
- void RemoveAll();
-
-
-
-
- List<string> GetKeys();
- }
- }
|