C# Class Ivony.Caching.DistributedCacheProvider

协助实现一个分布式缓存提供程序,分布式缓存提供程序可以将缓存按照缓存键保存到不同的缓存提供程序去
Inheritance: IAsyncCacheProvider
Datei anzeigen Open project: Ivony/Ivony.Caching

Public Methods

Method Description
Dispose ( ) : void

释放所有资源

Protected Methods

Method Description
GetAllCacheProviders ( ) : IAsyncCacheProvider[]

派生类实现此方法获取所有缓存提供程序

GetCacheProvider ( string cacheKey ) : Task

派生类实现此方法根据缓存键获取缓存提供程序

Private Methods

Method Description
IAsyncCacheProvider ( ) : System.Threading.Tasks.Task
IAsyncCacheProvider ( string cacheKey ) : System.Threading.Tasks.Task
IAsyncCacheProvider ( string cacheKey, object value, CachePolicyItem cachePolicy ) : System.Threading.Tasks.Task
IAsyncCacheProvider ( string cacheKey ) : Task

Method Details

Dispose() public method

释放所有资源
public Dispose ( ) : void
return void

GetAllCacheProviders() protected abstract method

派生类实现此方法获取所有缓存提供程序
protected abstract GetAllCacheProviders ( ) : IAsyncCacheProvider[]
return IAsyncCacheProvider[]

GetCacheProvider() protected abstract method

派生类实现此方法根据缓存键获取缓存提供程序
protected abstract GetCacheProvider ( string cacheKey ) : Task
cacheKey string 缓存键
return Task