Exemplo n.º 1
0
 public PipelinedCommandFactoryPool(string host, int port, int executorsCount)
 {
     _pool = new ConnectionPool(host, port);
     _pipelinedExecutor =
         Enumerable.Range(0, executorsCount).Select(q => new PipelinedCommandExecutor(_pool.GetConnection())).
             ToArray();
 }
Exemplo n.º 2
0
 public NormalCommandFactoryPool(string host, int port)
 {
     _pool = new ConnectionPool(host, port);
 }
Exemplo n.º 3
0
 public NormalCommandFactoryPool(string host, int port)
 {
     _pool = new ConnectionPool(host, port);
 }