Jonathan Leibiusky
bbb867781d
upgrade to commons-pool 2
2013-11-28 08:13:57 -05:00
Eoin Coffey
796f80d9c0
Allow JedisPool to set a custom client name
2013-10-05 16:44:52 -04:00
Hisham Mardam-Bey
c2a48afafd
Initial JedisSentinelPool based on code from hamsterready/jedis-sentinel-pool.
...
Given a master name and a set of sentinels this pool will subscribe to the
Sentinel notifications about master changes (+switch-master) and
re-establishes the pool to the new master when one is announced.
2013-08-23 23:06:13 -04:00
mindwind
7b6006b669
merge - jedis pull request #429
2013-06-29 12:59:32 +08:00
Jonathan Leibiusky
8f9763a7e9
add url support
2012-08-01 16:49:44 -03:00
Jonathan Leibiusky
d136225281
remove unused import
2012-04-17 18:45:31 -03:00
Ivo Ramirez
53f829fb10
JedisPool accepts BinaryJedis as a resource for return. Issue #171
...
Conflicts:
src/main/java/redis/clients/util/Pool.java
2012-04-17 16:56:26 -04:00
Eric Hauser
90dd6a1068
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
2011-09-12 23:06:24 -04:00
Michael Cameron
fb33b262e4
Add ability to specify database number in pool config
2011-08-26 16:47:37 -05:00
Kevin Sawicki
e9644a4529
Add JedisPool constructor that takes only host string
2011-06-24 16:44:12 -07:00
Jonathan Leibiusky
9006178a05
JedisPool timeout was broken. Values <= 0 where treated as -1, where 0 is infinite
2011-06-03 11:48:55 -03:00
Jonathan Leibiusky
dadaaecfdb
Add constrcutor with default pool conf
2010-12-10 17:26:02 -03:00
zoz
ff8ac4c9db
Surround jedis.quit() in try/catch to ignore connection problems in
...
method destroyObject
2010-12-02 12:14:01 -08:00
Jonathan Leibiusky
c4263b0a2d
remove java 1.6 specific annotations
2010-11-30 12:58:20 -03:00
Jonathan Leibiusky
71eb4c5b4a
replace custom pool implementation with apache's
2010-11-21 18:16:31 -03:00
Yaourt
3d8d152227
Apache Jakarta commons-pool based JedisPool.
2010-11-07 22:32:19 +01:00
Jonathan Leibiusky
6a1e141064
Added sharding benchmark and removed some imports
2010-09-30 21:04:21 -03:00
Alex Tkachman
53efb8471f
simplification of sharding
2010-09-16 15:41:04 +02:00
Jonathan Leibiusky
224555afd2
Added password to Jedis, JedisPool and ShardedJedis constructor for easier and more efficient usage
2010-09-14 16:43:48 -03:00
Jonathan Leibiusky
395a32c269
Make sure resource is not null before destroying it
2010-09-09 09:11:58 -03:00
Jonathan Leibiusky
1d37728817
If it is not possible to create the resource, keep trying until it can
2010-09-07 17:10:52 -03:00
Jonathan Leibiusky
68905396d5
Fixed EOFException issue with JedisPool. Was trying to reuse a broken Jedis
2010-09-04 11:29:54 -03:00
Jonathan Leibiusky
00dedc5f25
Fix for GH-4, isResourceValid should check for PONG not OK
2010-09-03 10:38:33 -03:00
Jonathan Leibiusky
aa7a96d05c
Fixed broken constructor. Wasn't setting default protocol
2010-08-30 11:12:24 -03:00
Jonathan Leibiusky
96709e0a16
Added connection pool
2010-08-24 00:34:37 -03:00