RedisCache 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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
- 구현
생성자
| Name | Description |
|---|---|
| RedisCache(IOptions<RedisCacheOptions>) | |
메서드
확장명 메서드
| Name | Description |
|---|---|
| GetString(IDistributedCache, String) |
지정된 키를 사용하여 지정된 캐시에서 문자열을 가져옵니다. |
| GetStringAsync(IDistributedCache, String, CancellationToken) |
지정된 키를 사용하여 지정된 캐시에서 문자열을 비동기적으로 가져옵니다. |
| Set(IDistributedCache, String, Byte[]) |
지정된 키를 사용하여 지정된 캐시의 바이트 시퀀스를 설정합니다. |
| SetAsync(IDistributedCache, String, Byte[], CancellationToken) |
지정된 키를 사용하여 지정된 캐시에서 바이트 시퀀스를 비동기적으로 설정합니다. |
| SetString(IDistributedCache, String, String, DistributedCacheEntryOptions) |
지정된 키를 사용하여 지정된 캐시의 문자열을 설정합니다. |
| SetString(IDistributedCache, String, String) |
지정된 키를 사용하여 지정된 캐시의 문자열을 설정합니다. |
| SetStringAsync(IDistributedCache, String, String, CancellationToken) |
지정된 키를 사용하여 지정된 캐시의 문자열을 비동기적으로 설정합니다. |
| SetStringAsync(IDistributedCache, String, String, DistributedCacheEntryOptions, CancellationToken) |
지정된 키를 사용하여 지정된 캐시의 문자열을 비동기적으로 설정합니다. |