C# Class Enyim.Membase.MembasePool

Socket sockIOPool using the Enyim.Membase server's dynamic node list
Inheritance: IServerPool
Mostra file Open project: xianrendzw/LightFramework.Net Class Usage Examples

Private Properties

Property Type Description
IDisposable void
IServerPool IEnumerable
IServerPool IMemcachedNode
IServerPool void
InitBasic InternalState
InitNodes void
InitVBucket InternalState
Initialize void
MembasePool System
NodeFail void
ReconfigurePool void
ReinitializeLocator void
rezCallback void

Public Methods

Method Description
MembasePool ( IMembaseClientConfiguration configuration ) : System

Initializes a new instance of the T:Enyim.Membase.MembasePool.

MembasePool ( IMembaseClientConfiguration configuration, string bucketName, string bucketPassword ) : System

Initializes a new instance of the T:Enyim.Membase.MembasePool class using the specified configuration, bucket name and password.

Private Methods

Method Description
IDisposable ( ) : void
IServerPool ( ) : IEnumerable
IServerPool ( string key ) : IMemcachedNode
IServerPool ( ) : void
InitBasic ( ClusterConfig config, ISaslAuthenticationProvider auth ) : InternalState
InitNodes ( ClusterConfig config ) : void
InitVBucket ( ClusterConfig config, ISaslAuthenticationProvider auth ) : InternalState
Initialize ( IMembaseClientConfiguration configuration, string bucketName, string bucketPassword ) : void
MembasePool ( IMembaseClientConfiguration configuration, string bucket ) : System
NodeFail ( IMemcachedNode node ) : void
ReconfigurePool ( ClusterConfig config ) : void
ReinitializeLocator ( InternalState previousState ) : void
rezCallback ( object o ) : void

Method Details

MembasePool() public method

Initializes a new instance of the T:Enyim.Membase.MembasePool.
public MembasePool ( IMembaseClientConfiguration configuration ) : System
configuration IMembaseClientConfiguration The configuration to be used.
return System

MembasePool() public method

Initializes a new instance of the T:Enyim.Membase.MembasePool class using the specified configuration, bucket name and password.
public MembasePool ( IMembaseClientConfiguration configuration, string bucketName, string bucketPassword ) : System
configuration IMembaseClientConfiguration The configuration to be used.
bucketName string The name of the bucket to connect to. Overrides the configuration's Bucket property.
bucketPassword string The password to the bucket. Overrides the configuration's BucketPassword property.
return System