C# Class Cuture.AspNetCore.ResponseCaching.ResponseCaches.ResponseCacheHotDataCacheWrapper

响应缓存的热数据缓存包装器
Inheritance: IDistributedResponseCache, IDisposable
Afficher le fichier Open project: StratosBlue/Cuture.AspNetCore.ResponseCaching

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetAsync ( string key, CancellationToken cancellationToken ) : Task
ResponseCacheHotDataCacheWrapper ( IDistributedResponseCache distributedCache, IHotDataCache hotDataCache ) : System
SetAsync ( string key, Cuture.AspNetCore.ResponseCaching.ResponseCaches.ResponseCacheEntry entry, CancellationToken cancellationToken ) : Task

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetAsync() public méthode

public GetAsync ( string key, CancellationToken cancellationToken ) : Task
key string
cancellationToken CancellationToken
Résultat Task

ResponseCacheHotDataCacheWrapper() public méthode

public ResponseCacheHotDataCacheWrapper ( IDistributedResponseCache distributedCache, IHotDataCache hotDataCache ) : System
distributedCache IDistributedResponseCache
hotDataCache IHotDataCache
Résultat System

SetAsync() public méthode

public SetAsync ( string key, Cuture.AspNetCore.ResponseCaching.ResponseCaches.ResponseCacheEntry entry, CancellationToken cancellationToken ) : Task
key string
entry Cuture.AspNetCore.ResponseCaching.ResponseCaches.ResponseCacheEntry
cancellationToken CancellationToken
Résultat Task