Пример #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();
 }
Пример #2
0
 public NormalCommandFactoryPool(string host, int port)
 {
     _pool = new ConnectionPool(host, port);
 }
Пример #3
0
 public NormalCommandFactoryPool(string host, int port)
 {
     _pool = new ConnectionPool(host, port);
 }