C# Class MemPowered.BasicHashNodeLocator

Memcached Node Locator that uses basic hashing concepts to determine the server a given key is associated with. This class is for educational purposes, and will normally yield a very low hit rate when adding/removing servers from configuration.
Inheritance: IMemcachedNodeLocator
ファイルを表示 Open project: brianhartsock/MemPowered

Public Methods

Method Description
Initialize ( IList _nodes ) : void
Locate ( string key ) : Enyim.Caching.Memcached.MemcachedNode

Method Details

Initialize() public method

public Initialize ( IList _nodes ) : void
_nodes IList
return void

Locate() public method

public Locate ( string key ) : Enyim.Caching.Memcached.MemcachedNode
key string
return Enyim.Caching.Memcached.MemcachedNode