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(); }
public NormalCommandFactoryPool(string host, int port) { _pool = new ConnectionPool(host, port); }