this.queue = new ArrayBlockingQueue<SrpConnection>(50);
}
public SrpConnection(String host, int port, BlockingQueue<SrpConnection> queue) {
try {
this.client = new RedisClient(host, port);
this.queue = queue;
} catch (IOException e) {
throw new RedisConnectionFailureException("Could not connect", e);
} catch (RedisException e) {
throw new RedisConnectionFailureException("Could not connect", e);