Jungtaek Lim
6f8d46ae4f
Merge branch 'master' into implements-closeable-to-pooled-jedis-shardedjedis
...
Conflicts:
src/main/java/redis/clients/jedis/Jedis.java
src/main/java/redis/clients/jedis/JedisSentinelPool.java
src/main/java/redis/clients/jedis/ShardedJedis.java
src/test/java/redis/clients/jedis/tests/JedisPoolTest.java
2014-05-26 11:18:45 +09:00
Roland von Herget
b2eb5d6d1c
add a returnBrokenResource method, this way we can throw away broken ShardedJedis objects (e.g. due to timeouts on one shard)
2014-02-28 14:36:53 +01:00
Jungtaek Lim
670e019a89
Implements Closeable to Pooled Jedis & ShardedJedis
...
* Implement Closeable from Jedis, ShardedJedis with Pooled
** resources from JedisPool, JedisSentinelPool, ShardedJedis, ShardedJedisPool
* Connection class : check whether Jedis Connection is broken
** when it's time to throw JedisConnectionException, mark Connection to broken
2014-02-23 23:50:40 +09:00
Jonathan Leibiusky
bbb867781d
upgrade to commons-pool 2
2013-11-28 08:13:57 -05:00
Jonathan Leibiusky
6c59e347c7
don't check if jedis is connected as PING will connect if necessary
2011-04-25 10:57:51 -03:00
Jonathan Leibiusky
8aa25eb9b3
Merge branch 'issue-78' of https://github.com/grdmitro/jedis into grdmitro-issue-78
2011-04-06 02:03:51 -03:00
Jonathan Leibiusky
1502990cea
Merge branch 'safe_disconnect' of https://github.com/grdmitro/jedis into grdmitro-safe_disconnect
2011-04-06 02:00:13 -03:00
Dmytro
620a5d699f
safe disconnect
2011-03-25 15:15:57 +00:00
Dmytro
da3092e695
reverted back vetify() as connection checks could be disabled in pool config
2011-03-25 14:35:29 +00:00
Jonathan Leibiusky
347d743de4
should always default to Murmur to be consistent everywhere
2011-03-25 10:52:06 -03:00
Dmytro
604615d228
ISSUE 78: Removed logic that waits forever till all shards are connected in ShardedJedisPool
...
Ensuered that all commands connect at the beginning if necessary.
2011-03-25 11:19:17 +00:00
Jonathan Leibiusky
c4263b0a2d
remove java 1.6 specific annotations
2010-11-30 12:58:20 -03:00
Jonathan Leibiusky
a1815f3881
Now Sharded will handle connections instead of Info, so connection won't be shared between instances of ShardedJedis
2010-11-22 12:49:18 -03:00
Jonathan Leibiusky
71eb4c5b4a
replace custom pool implementation with apache's
2010-11-21 18:16:31 -03:00
Jonathan Leibiusky
f62548931c
Add a pool for sharded jedis
2010-11-10 13:41:41 -03:00