C# Class AzureTableStorageCache.AzureTableStorageCacheHandler

Inheritance: IDistributedCache
Afficher le fichier Open project: TerribleDev/AzureTableStorageCache

Méthodes publiques

Méthode Description
AzureTableStorageCacheHandler ( string connectionString, string tableName, string partitionKey ) : AzureTableStorageCache.Model
AzureTableStorageCacheHandler ( string accountName, string accountKey, string tableName, string partitionKey ) : AzureTableStorageCache.Model
Connect ( ) : void
ConnectAsync ( ) : System.Threading.Tasks.Task
Get ( string key ) : byte[]
GetAsync ( string key ) : Task
Refresh ( string key ) : void
RefreshAsync ( string key ) : System.Threading.Tasks.Task
Remove ( string key ) : void
RemoveAsync ( string key ) : System.Threading.Tasks.Task
Set ( string key, byte value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options ) : void
SetAsync ( string key, byte value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
AzureTableStorageCacheHandler ( string tableName, string partitionKey ) : AzureTableStorageCache.Model
RetrieveAsync ( string key ) : Task
ShouldDelete ( CachedItem data ) : bool

Method Details

AzureTableStorageCacheHandler() public méthode

public AzureTableStorageCacheHandler ( string connectionString, string tableName, string partitionKey ) : AzureTableStorageCache.Model
connectionString string
tableName string
partitionKey string
Résultat AzureTableStorageCache.Model

AzureTableStorageCacheHandler() public méthode

public AzureTableStorageCacheHandler ( string accountName, string accountKey, string tableName, string partitionKey ) : AzureTableStorageCache.Model
accountName string
accountKey string
tableName string
partitionKey string
Résultat AzureTableStorageCache.Model

Connect() public méthode

public Connect ( ) : void
Résultat void

ConnectAsync() public méthode

public ConnectAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Get() public méthode

public Get ( string key ) : byte[]
key string
Résultat byte[]

GetAsync() public méthode

public GetAsync ( string key ) : Task
key string
Résultat Task

Refresh() public méthode

public Refresh ( string key ) : void
key string
Résultat void

RefreshAsync() public méthode

public RefreshAsync ( string key ) : System.Threading.Tasks.Task
key string
Résultat System.Threading.Tasks.Task

Remove() public méthode

public Remove ( string key ) : void
key string
Résultat void

RemoveAsync() public méthode

public RemoveAsync ( string key ) : System.Threading.Tasks.Task
key string
Résultat System.Threading.Tasks.Task

Set() public méthode

public Set ( string key, byte value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options ) : void
key string
value byte
options Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions
Résultat void

SetAsync() public méthode

public SetAsync ( string key, byte value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options ) : System.Threading.Tasks.Task
key string
value byte
options Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions
Résultat System.Threading.Tasks.Task