Exemplo n.º 1
0
 public RedisPooledSocket(SocketPool pool)
 {
     _pool = pool;
 }
 public RedisPooledSocket(SocketPool pool)
 {
     _pool = pool;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Create a new connection pool
 /// </summary>
 /// <param name="endPoint">Redis server</param>
 /// <param name="max">Maximum simultaneous connections</param>
 
 public RedisConnectionPool(EndPoint endPoint, int max)
 {
     _pool = new SocketPool(endPoint, max);
     _endPoint = endPoint;
 }