Merge pull request #168 from kevinsawicki/jedis
--- This constructor type is available on the ```Jedis``` class and so I added it to ```JedisPool``` for consistency. Conflicts: src/main/java/redis/clients/jedis/JedisPool.java
This commit is contained in:
@@ -16,6 +16,10 @@ public class JedisPool extends Pool<Jedis> {
|
|||||||
this(new Config(), host, port, Protocol.DEFAULT_TIMEOUT, null, Protocol.DEFAULT_DATABASE);
|
this(new Config(), host, port, Protocol.DEFAULT_TIMEOUT, null, Protocol.DEFAULT_DATABASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public JedisPool(final String host) {
|
||||||
|
this(host, Protocol.DEFAULT_PORT);
|
||||||
|
}
|
||||||
|
|
||||||
public JedisPool(final Config poolConfig, final String host, int port,
|
public JedisPool(final Config poolConfig, final String host, int port,
|
||||||
int timeout, final String password) {
|
int timeout, final String password) {
|
||||||
this(poolConfig, host, port, timeout, password, Protocol.DEFAULT_DATABASE);
|
this(poolConfig, host, port, timeout, password, Protocol.DEFAULT_DATABASE);
|
||||||
|
|||||||
Reference in New Issue
Block a user