Memcached 캐시 서버를 저장소로 사용하는 Cache Repository 입니다. 참고: https://github.com/enyim/EnyimMemcached/wiki/MemcachedClient-Usage
Inheritance: AbstractCacheRepository
コード例 #1
0
 private static CacheItem CreateCacheItem(MemcachedRepository repository, object item)
 {
     return
         (new CacheItem {
         ItemType = item.GetType(),
         ItemData = repository.Serializer.Serialize(item)
     });
 }
コード例 #2
0
 private static CacheItem CreateCacheItem(MemcachedRepository repository, object item) {
     return
         new CacheItem {
             ItemType = item.GetType(),
             ItemData = repository.Serializer.Serialize(item)
         };
 }