-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathICacheD.cs
More file actions
25 lines (22 loc) · 1.57 KB
/
Copy pathICacheD.cs
File metadata and controls
25 lines (22 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using Enyim.Caching.Memcached;
using System.Net;
namespace API
{
public interface ICacheD
{
bool Store_ADO<T>(string nameSpace, string procedureName, List<ADO_inputParams> inputParams, dynamic data, DateTime expiresAt, string repository = null);
bool Store_ADO<T>(string nameSpace, string procedureName, List<ADO_inputParams> inputParams, dynamic data, TimeSpan validFor, string repository = null);
bool Store_BSO<T>(string nameSpace, string className, string methodName, T inputDTO, dynamic data, DateTime expiresAt, string repository = null);
bool Store_BSO<T>(string nameSpace, string className, string methodName, T inputDTO, dynamic data, TimeSpan validFor, string repository = null);
bool Store_BSO_REMOVELOCK<T>(string nameSpace, string className, string methodName, T inputDTO, dynamic data, DateTime expiresAt, string repository = null);
MemCachedD_Value Get_ADO(string nameSpace, string procedureName, List<ADO_inputParams> inputParams);
MemCachedD_Value Get_BSO<T>(string nameSpace, string className, string methodName, T inputDTO); //
MemCachedD_Value Get_BSO_WITHLOCK<T>(string nameSpace, string className, string methodName, T inputDTO);
bool Remove_ADO(string nameSpace, string procedureName, List<ADO_inputParams> inputParams);
bool Remove_BSO<T>(string nameSpace, string className, string methodName, T inputDTO);
bool CasRepositoryFlush(string repository);
void FlushAll();
ServerStats GetStats();
Dictionary<string, string>? GetStatsDictionary();
}
}