C# Class Enyim.Caching.Memcached.VBucketNodeLocator

Implements a vbucket based node locator.
Inheritance: IMemcachedNodeLocator
Afficher le fichier Open project: xianrendzw/LightFramework.Net Class Usage Examples

Méthodes publiques

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

Private Methods

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

Method Details

GetIndex() public méthode

public GetIndex ( string key ) : int
key string
Résultat int

GetVBucket() public méthode

public GetVBucket ( string key ) : Enyim.Caching.Configuration.VBucket
key string
Résultat Enyim.Caching.Configuration.VBucket

VBucketNodeLocator() public méthode

public VBucketNodeLocator ( string hashAlgorithm, Enyim.Caching.Configuration.VBucket buckets ) : System
hashAlgorithm string
buckets Enyim.Caching.Configuration.VBucket
Résultat System