C# Class Contrib.Cache.Memcached.Services.MemcachedClientHolder

Inheritance: IMemcachedClientHolder, IDisposable
Show file Open project: sebastienros/Contrib.Cache.Memcached

Public Methods

Method Description
Dispose ( ) : void
GetCacheItem ( string key ) : Contrib.Cache.Models.CacheItem
GetCacheItems ( int skip, int count ) : IEnumerable
GetCacheItemsCount ( ) : int
GetClient ( ) : MemcachedClient
MemcachedClientHolder ( Work service, ICacheManager cacheManager, ISignals signals ) : System
Remove ( string key ) : void
RemoveAll ( ) : void
Set ( string key, Contrib.Cache.Models.CacheItem cacheItem ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetCacheItem() public method

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

GetCacheItems() public method

public GetCacheItems ( int skip, int count ) : IEnumerable
skip int
count int
return IEnumerable

GetCacheItemsCount() public method

public GetCacheItemsCount ( ) : int
return int

GetClient() public method

public GetClient ( ) : MemcachedClient
return MemcachedClient

MemcachedClientHolder() public method

public MemcachedClientHolder ( Work service, ICacheManager cacheManager, ISignals signals ) : System
service Work
cacheManager ICacheManager
signals ISignals
return System

Remove() public method

public Remove ( string key ) : void
key string
return void

RemoveAll() public method

public RemoveAll ( ) : void
return void

Set() public method

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