C# 클래스 Contrib.Cache.Database.Services.DatabaseOutputCacheStorageProvider

상속: Cache.Services.IOutputCacheStorageProvider
파일 보기 프로젝트 열기: CloudMetal/Contrib.Cache.Database

공개 메소드들

메소드 설명
DatabaseOutputCacheStorageProvider ( IRepository repository, IClock clock ) : System
GetCacheItem ( string key ) : CacheItem
GetCacheItems ( int skip, int count ) : IEnumerable
GetCacheItemsCount ( ) : int
Remove ( string key ) : void
RemoveAll ( ) : void
RemoveExpiredEntries ( ) : void
Set ( string key, CacheItem cacheItem ) : void

비공개 메소드들

메소드 설명
Convert ( CacheItemRecord record ) : CacheItem
Convert ( CacheItem cacheItem, CacheItemRecord record ) : void

메소드 상세

DatabaseOutputCacheStorageProvider() 공개 메소드

public DatabaseOutputCacheStorageProvider ( IRepository repository, IClock clock ) : System
repository IRepository
clock IClock
리턴 System

GetCacheItem() 공개 메소드

public GetCacheItem ( string key ) : CacheItem
key string
리턴 Contrib.Cache.Models.CacheItem

GetCacheItems() 공개 메소드

public GetCacheItems ( int skip, int count ) : IEnumerable
skip int
count int
리턴 IEnumerable

GetCacheItemsCount() 공개 메소드

public GetCacheItemsCount ( ) : int
리턴 int

Remove() 공개 메소드

public Remove ( string key ) : void
key string
리턴 void

RemoveAll() 공개 메소드

public RemoveAll ( ) : void
리턴 void

RemoveExpiredEntries() 공개 메소드

public RemoveExpiredEntries ( ) : void
리턴 void

Set() 공개 메소드

public Set ( string key, CacheItem cacheItem ) : void
key string
cacheItem Contrib.Cache.Models.CacheItem
리턴 void