Partager via


IBufferDistributedCache Interface

Définition

public interface class IBufferDistributedCache : Microsoft::Extensions::Caching::Distributed::IDistributedCache
public interface IBufferDistributedCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache
type IBufferDistributedCache = interface
    interface IDistributedCache
Public Interface IBufferDistributedCache
Implements IDistributedCache
Dérivé
Implémente

Méthodes

Get(String)

Obtient une valeur avec la clé donnée.

(Hérité de IDistributedCache)
GetAsync(String, CancellationToken)

Obtient une valeur avec la clé donnée.

(Hérité de IDistributedCache)
Refresh(String)

Actualise une valeur du cache en fonction de sa clé, en réinitialisant son délai d’expiration décalé (si celui-ci a été défini).

(Hérité de IDistributedCache)
RefreshAsync(String, CancellationToken)

Actualise une valeur du cache en fonction de sa clé, en réinitialisant son délai d’expiration décalé (si celui-ci a été défini).

(Hérité de IDistributedCache)
Remove(String)

Supprime la valeur avec la clé donnée.

(Hérité de IDistributedCache)
RemoveAsync(String, CancellationToken)

Supprime la valeur avec la clé donnée.

(Hérité de IDistributedCache)
Set(String, Byte[], DistributedCacheEntryOptions)

Définit une valeur avec la clé donnée.

(Hérité de IDistributedCache)
Set(String, ReadOnlySequence<Byte>, DistributedCacheEntryOptions)
SetAsync(String, Byte[], DistributedCacheEntryOptions, CancellationToken)

Définit la valeur avec la clé donnée.

(Hérité de IDistributedCache)
SetAsync(String, ReadOnlySequence<Byte>, DistributedCacheEntryOptions, CancellationToken)
TryGet(String, IBufferWriter<Byte>)
TryGetAsync(String, IBufferWriter<Byte>, CancellationToken)

Méthodes d’extension

GetString(IDistributedCache, String)

Obtient une chaîne à partir du cache spécifié avec la clé spécifiée.

GetStringAsync(IDistributedCache, String, CancellationToken)

Obtient de manière asynchrone une chaîne à partir du cache spécifié avec la clé spécifiée.

Set(IDistributedCache, String, Byte[])

Définit une séquence d’octets dans le cache spécifié avec la clé spécifiée.

SetAsync(IDistributedCache, String, Byte[], CancellationToken)

Définit de manière asynchrone une séquence d’octets dans le cache spécifié avec la clé spécifiée.

SetString(IDistributedCache, String, String)

Définit une chaîne dans le cache spécifié avec la clé spécifiée.

SetString(IDistributedCache, String, String, DistributedCacheEntryOptions)

Définit une chaîne dans le cache spécifié avec la clé spécifiée.

SetStringAsync(IDistributedCache, String, String, DistributedCacheEntryOptions, CancellationToken)

Définit de manière asynchrone une chaîne dans le cache spécifié avec la clé spécifiée.

SetStringAsync(IDistributedCache, String, String, CancellationToken)

Définit de manière asynchrone une chaîne dans le cache spécifié avec la clé spécifiée.

S’applique à