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 CommandFactory Get() { return(new CommandFactory(new NormalCommandExecutor(_pool.GetConnection()))); }