C# Class Enyim.Caching.Memcached.DefaultNodeLocator

This is a ketama-like consistent hashing based node locator. Used when no other T:IMemcachedNodeLocator is specified for the pool.
Inheritance: IMemcachedNodeLocator
Show file Open project: xianrendzw/LightFramework.Net Class Usage Examples

Private Methods

Method Description
BuildIndex ( List nodes ) : void
FindNode ( string key ) : IMemcachedNode

locates a node by its key

GenerateKeys ( IMemcachedNode node, int numberOfKeys ) : uint[]
IDisposable ( ) : void
IMemcachedNodeLocator ( ) : IEnumerable
IMemcachedNodeLocator ( string key ) : IMemcachedNode
IMemcachedNodeLocator ( IList nodes ) : void
Locate ( string key ) : IMemcachedNode
callback_isAliveTimer ( object state ) : void

Checks if a dead node is working again.