Socket sockIOPool using the Enyim.Membase server's dynamic node list
Inheritance: IServerPool
Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Enyim.Membase.MembaseClient" /> class
 /// using a custom configuration provider and the specified bucket name and password.
 /// </summary>
 /// <param name="configuration">The custom configuration provider.</param>
 /// <param name="bucketName">The name of the bucket this memcachedClient will connect to.</param>
 /// <param name="bucketPassword">The password of the bucket this memcachedClient will connect to.</param>
 public MembaseClient(IMembaseClientConfiguration configuration, string bucketName, string bucketPassword) :
     base(new MembasePool(configuration, bucketName, bucketPassword),
          configuration.CreateKeyTransformer(),
          configuration.CreateTranscoder(),
          configuration.CreatePerformanceMonitor())
 {
     this.poolInstance = (MembasePool)this.Pool;
 }
		/// <summary>
		/// Initializes a new instance of the <see cref="T:Enyim.Membase.MembaseClient" /> class 
		/// using a custom configuration provider and the specified bucket name and password.
		/// </summary>
		/// <param name="configuration">The custom configuration provider.</param>
		/// <param name="bucketName">The name of the bucket this memcachedClient will connect to.</param>
		/// <param name="bucketPassword">The password of the bucket this memcachedClient will connect to.</param>
		public MembaseClient(IMembaseClientConfiguration configuration, string bucketName, string bucketPassword) :
			base(new MembasePool(configuration, bucketName, bucketPassword),
					configuration.CreateKeyTransformer(),
					configuration.CreateTranscoder(),
					configuration.CreatePerformanceMonitor())
		{
			this.poolInstance = (MembasePool)this.Pool;
		}