MemoryDistributedCache 클래스

정의

를 사용하는 IMemoryCache구현입니다IDistributedCache.

public ref class MemoryDistributedCache : Microsoft::Extensions::Caching::Distributed::IDistributedCache
public class MemoryDistributedCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache
type MemoryDistributedCache = class
    interface IDistributedCache
Public Class MemoryDistributedCache
Implements IDistributedCache
상속
MemoryDistributedCache
구현

생성자

MemoryDistributedCache(IMemoryCache)

를 사용하는 IMemoryCache구현입니다IDistributedCache.

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>)

MemoryDistributedCache 인스턴스를 만듭니다.

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>, ILoggerFactory)

MemoryDistributedCache 인스턴스를 만듭니다.

메서드

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
Get(String)

지정된 키를 가진 값을 가져옵니다.

GetAsync(String)

를 사용하는 IMemoryCache구현입니다IDistributedCache.

GetAsync(String, CancellationToken)

지정된 키를 가진 값을 가져옵니다.

GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

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

키를 기준으로 캐시의 값을 새로 고쳐 슬라이딩 만료 시간 제한(있는 경우)을 다시 설정합니다.

RefreshAsync(String)

를 사용하는 IMemoryCache구현입니다IDistributedCache.

RefreshAsync(String, CancellationToken)

키를 기준으로 캐시의 값을 새로 고쳐 슬라이딩 만료 시간 제한(있는 경우)을 다시 설정합니다.

Remove(String)

지정된 키를 가진 값을 제거합니다.

RemoveAsync(String)

를 사용하는 IMemoryCache구현입니다IDistributedCache.

RemoveAsync(String, CancellationToken)

지정된 키를 가진 값을 제거합니다.

Set(String, Byte[], DistributedCacheEntryOptions)

지정된 키를 가진 값을 설정합니다.

SetAsync(String, Byte[], DistributedCacheEntryOptions)

를 사용하는 IMemoryCache구현입니다IDistributedCache.

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

지정된 키를 가진 값을 설정합니다.

ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

확장 메서드

GetString(IDistributedCache, String)

지정된 키로 지정된 캐시에서 문자열을 가져옵니다.

GetStringAsync(IDistributedCache, String)

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

GetStringAsync(IDistributedCache, String, CancellationToken)

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

Set(IDistributedCache, String, Byte[])

지정된 키로 지정된 캐시의 바이트 시퀀스를 설정합니다.

SetAsync(IDistributedCache, String, Byte[])

지정된 키로 지정된 캐시의 바이트 시퀀스를 비동기적으로 설정합니다.

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

지정된 키로 지정된 캐시의 바이트 시퀀스를 비동기적으로 설정합니다.

SetString(IDistributedCache, String, String)

지정된 키로 지정된 캐시에서 문자열을 설정합니다.

SetString(IDistributedCache, String, String, DistributedCacheEntryOptions)

지정된 키로 지정된 캐시에서 문자열을 설정합니다.

SetStringAsync(IDistributedCache, String, String)

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

SetStringAsync(IDistributedCache, String, String, DistributedCacheEntryOptions)

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

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

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

SetStringAsync(IDistributedCache, String, String, CancellationToken)

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

적용 대상