다음을 통해 공유


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)

지정된 키로 지정된 캐시에서 문자열을 비동기적으로 설정합니다.

적용 대상