C# Class Enyim.Caching.Memcached.VBucketNodeLocator

Implements a vbucket based node locator.
Inheritance: IMemcachedNodeLocator
ファイルを表示 Open project: xianrendzw/LightFramework.Net Class Usage Examples

Public Methods

Method Description
GetIndex ( string key ) : int
GetVBucket ( string key ) : Enyim.Caching.Configuration.VBucket
VBucketNodeLocator ( string hashAlgorithm, Enyim.Caching.Configuration.VBucket buckets ) : System

Private Methods

Method Description
GetAlgo ( ) : HashAlgorithm
IMemcachedNodeLocator ( ) : IEnumerable
IMemcachedNodeLocator ( string key ) : IMemcachedNode
IMemcachedNodeLocator ( IList nodes ) : void
VBucketNodeLocator ( ) : System

Method Details

GetIndex() public method

public GetIndex ( string key ) : int
key string
return int

GetVBucket() public method

public GetVBucket ( string key ) : Enyim.Caching.Configuration.VBucket
key string
return Enyim.Caching.Configuration.VBucket

VBucketNodeLocator() public method

public VBucketNodeLocator ( string hashAlgorithm, Enyim.Caching.Configuration.VBucket buckets ) : System
hashAlgorithm string
buckets Enyim.Caching.Configuration.VBucket
return System