SqlServerCache 클래스

정의

Microsoft SQL Server 데이터베이스를 사용하는 분산 캐시 구현입니다.

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

생성자

SqlServerCache(IOptions<SqlServerCacheOptions>)

Microsoft SQL Server 데이터베이스를 사용하는 분산 캐시 구현입니다.

메서드

Equals(Object)

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

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

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

GetAsync(String)

Microsoft SQL Server 데이터베이스를 사용하는 분산 캐시 구현입니다.

GetAsync(String, CancellationToken)

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

GetHashCode()

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

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

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

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

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

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

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

RefreshAsync(String)

Microsoft SQL Server 데이터베이스를 사용하는 분산 캐시 구현입니다.

RefreshAsync(String, CancellationToken)

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

Remove(String)

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

RemoveAsync(String)

Microsoft SQL Server 데이터베이스를 사용하는 분산 캐시 구현입니다.

RemoveAsync(String, CancellationToken)

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

Set(String, Byte[], DistributedCacheEntryOptions)

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

SetAsync(String, Byte[], DistributedCacheEntryOptions)

Microsoft SQL Server 데이터베이스를 사용하는 분산 캐시 구현입니다.

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)

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

적용 대상