Aracılığıyla paylaş


IBufferDistributedCache Arabirim

Tanım

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
Türetilmiş
Uygulamalar

Yöntemler

Get(String)

Verilen anahtarla bir değer alır.

(Devralındığı yer: IDistributedCache)
GetAsync(String, CancellationToken)

Verilen anahtarla bir değer alır.

(Devralındığı yer: IDistributedCache)
Refresh(String)

Önbellekteki bir değeri anahtarına göre yeniler ve kayan süre sonu zaman aşımını (varsa) sıfırlar.

(Devralındığı yer: IDistributedCache)
RefreshAsync(String, CancellationToken)

Önbellekteki bir değeri anahtarına göre yeniler ve kayan süre sonu zaman aşımını (varsa) sıfırlar.

(Devralındığı yer: IDistributedCache)
Remove(String)

Verilen anahtarla değeri kaldırır.

(Devralındığı yer: IDistributedCache)
RemoveAsync(String, CancellationToken)

Verilen anahtarla değeri kaldırır.

(Devralındığı yer: IDistributedCache)
Set(String, Byte[], DistributedCacheEntryOptions)

Verilen anahtarla bir değer ayarlar.

(Devralındığı yer: IDistributedCache)
Set(String, ReadOnlySequence<Byte>, DistributedCacheEntryOptions)
SetAsync(String, Byte[], DistributedCacheEntryOptions, CancellationToken)

Değeri verilen anahtarla ayarlar.

(Devralındığı yer: IDistributedCache)
SetAsync(String, ReadOnlySequence<Byte>, DistributedCacheEntryOptions, CancellationToken)
TryGet(String, IBufferWriter<Byte>)
TryGetAsync(String, IBufferWriter<Byte>, CancellationToken)

Uzantı Metotları

GetString(IDistributedCache, String)

Belirtilen önbellekten belirtilen anahtarla bir dize alır.

GetStringAsync(IDistributedCache, String, CancellationToken)

Belirtilen önbellekten belirtilen anahtarla zaman uyumsuz olarak bir dize alır.

Set(IDistributedCache, String, Byte[])

Belirtilen önbellekte belirtilen anahtarla bir bayt dizisi ayarlar.

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

Belirtilen önbellekte belirtilen anahtarla zaman uyumsuz olarak bir bayt dizisi ayarlar.

SetString(IDistributedCache, String, String)

Belirtilen önbellekte belirtilen anahtarla bir dize ayarlar.

SetString(IDistributedCache, String, String, DistributedCacheEntryOptions)

Belirtilen önbellekte belirtilen anahtarla bir dize ayarlar.

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

Belirtilen önbellekte belirtilen anahtarla zaman uyumsuz olarak bir dize ayarlar.

SetStringAsync(IDistributedCache, String, String, CancellationToken)

Belirtilen önbellekte belirtilen anahtarla zaman uyumsuz olarak bir dize ayarlar.

Şunlara uygulanır