RedisCache 클래스

정의

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

생성자

RedisCache(IOptions<RedisCacheOptions>)

메서드

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

Equals(Object)

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

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

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

GetAsync(String, CancellationToken)

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

GetHashCode()

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

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

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

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

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

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

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

RefreshAsync(String, CancellationToken)

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

Remove(String)

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

RemoveAsync(String, CancellationToken)

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

Set(String, Byte[], DistributedCacheEntryOptions)

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

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)

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

적용 대상