Method | Description | |
---|---|---|
Clear ( ) : System.Threading.Tasks.Task | ||
Dispose ( ) : void | ||
Get ( string key ) : Task | ||
MultiCacheProvider ( IAsyncCacheProvider l1Cache, IAsyncL2CacheProvider l2Cache ) : System |
创建多级缓存提供程序对象
|
|
Remove ( string cacheKey ) : System.Threading.Tasks.Task | ||
Set ( string key, object value, CachePolicyItem cachePolicy ) : System.Threading.Tasks.Task |
Method | Description | |
---|---|---|
Background ( System.Threading.Tasks.Task task ) : void |
在后台执行某任务
|
public Clear ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public MultiCacheProvider ( IAsyncCacheProvider l1Cache, IAsyncL2CacheProvider l2Cache ) : System | ||
l1Cache | IAsyncCacheProvider | 一级缓存 |
l2Cache | IAsyncL2CacheProvider | 二级缓存 |
return | System |
public Remove ( string cacheKey ) : System.Threading.Tasks.Task | ||
cacheKey | string | |
return | System.Threading.Tasks.Task |
public Set ( string key, object value, CachePolicyItem cachePolicy ) : System.Threading.Tasks.Task | ||
key | string | |
value | object | |
cachePolicy | CachePolicyItem | |
return | System.Threading.Tasks.Task |