IBufferDistributedCache 인터페이스

정의

낮은 할당 데이터 전송을 지원하는 직렬화된 값의 분산 캐시를 나타냅니다.

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
파생
구현

메서드

Get(String)

지정된 키가 있는 값을 가져옵니다.

(다음에서 상속됨 IDistributedCache)
GetAsync(String, CancellationToken)

지정된 키가 있는 값을 가져옵니다.

(다음에서 상속됨 IDistributedCache)
Refresh(String)

키에 따라 캐시의 값을 새로 고치고 슬라이딩 만료 시간 제한(있는 경우)을 다시 설정합니다.

(다음에서 상속됨 IDistributedCache)
RefreshAsync(String, CancellationToken)

키에 따라 캐시의 값을 새로 고치고 슬라이딩 만료 시간 제한(있는 경우)을 다시 설정합니다.

(다음에서 상속됨 IDistributedCache)
Remove(String)

지정된 키를 사용하여 값을 제거합니다.

(다음에서 상속됨 IDistributedCache)
RemoveAsync(String, CancellationToken)

지정된 키를 사용하여 값을 제거합니다.

(다음에서 상속됨 IDistributedCache)
Set(String, Byte[], DistributedCacheEntryOptions)

지정된 키를 사용하여 값을 설정합니다.

(다음에서 상속됨 IDistributedCache)
Set(String, ReadOnlySequence<Byte>, DistributedCacheEntryOptions)

캐시 항목을 설정하거나 덮어씁니다.

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

지정된 키를 사용하여 값을 설정합니다.

(다음에서 상속됨 IDistributedCache)
SetAsync(String, ReadOnlySequence<Byte>, DistributedCacheEntryOptions, CancellationToken)

캐시 항목을 비동기적으로 설정하거나 덮어씁니다.

TryGet(String, IBufferWriter<Byte>)

기존 캐시 항목을 검색하려고 시도합니다.

TryGetAsync(String, IBufferWriter<Byte>, CancellationToken)

기존 캐시 항목을 비동기적으로 검색하려고 시도합니다.

확장 메서드

GetString(IDistributedCache, String)

지정된 키를 사용하여 지정된 캐시에서 문자열을 가져옵니다.

GetStringAsync(IDistributedCache, String, CancellationToken)

지정된 키를 사용하여 지정된 캐시에서 문자열을 비동기적으로 가져옵니다.

Set(IDistributedCache, String, Byte[])

지정된 키를 사용하여 지정된 캐시의 바이트 시퀀스를 설정합니다.

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

지정된 키를 사용하여 지정된 캐시에서 바이트 시퀀스를 비동기적으로 설정합니다.

SetString(IDistributedCache, String, String)

지정된 키를 사용하여 지정된 캐시의 문자열을 설정합니다.

SetString(IDistributedCache, String, String, DistributedCacheEntryOptions)

지정된 키를 사용하여 지정된 캐시의 문자열을 설정합니다.

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

지정된 키를 사용하여 지정된 캐시의 문자열을 비동기적으로 설정합니다.

SetStringAsync(IDistributedCache, String, String, CancellationToken)

지정된 키를 사용하여 지정된 캐시의 문자열을 비동기적으로 설정합니다.

적용 대상