Commit Graph

100 Commits

Author SHA1 Message Date
Jonathan Leibiusky
acb1eb594f throw a JedisConnectionException if unsubscribing from a not subscribed JedisPubSub instance 2011-05-11 14:56:05 -03:00
Jonathan Leibiusky
22b2229ba0 handle quit command response as it was leaving the socket in an unconsistent state 2011-05-11 14:06:07 -03:00
Jonathan Leibiusky
b13c964500 jedis monitor should set client socket timeout to infinite 2011-05-02 01:54:52 -03:00
Jonathan Leibiusky
97dd134eec Merge branch 'master' of https://github.com/lmar/jedis into lmar-master
Conflicts:
	src/main/java/redis/clients/jedis/Pipeline.java
	src/main/java/redis/clients/jedis/PipelineBlock.java
2011-04-06 21:52:48 -03:00
Jonathan Leibiusky
3fb7a52017 multi/exec block return formatted responses 2011-04-06 01:38:19 -03:00
Jonathan Leibiusky
ff50c17238 fix issue 108, brpoplpush set infinite timeout before waiting for a reply from the server 2011-03-25 11:37:49 -03:00
lmar
58aa95c464 Binary versions of ZREVRANGEBYSCORE methods, some code cleanup 2011-03-08 20:19:54 +01:00
lmar
3fc43e7dec Implementation of ZREVRANGEBYSCORE command 2011-03-08 19:03:24 +01:00
Jonathan Leibiusky
80d2f9d103 Merge branch 'pipeline-multi' of git://github.com/pietern/jedis into pietern-pipeline-multi
Conflicts:
	src/main/java/redis/clients/jedis/Connection.java
	src/main/java/redis/clients/jedis/Transaction.java
2011-02-28 15:56:11 -03:00
Jonathan Leibiusky
333a9bc6b3 fix tests to use HashSet instead of LinkedHashSet 2011-02-28 15:22:52 -03:00
Eric Hauser
430601f31e Adding support for bit commands get/setrange 2011-02-28 10:35:00 -03:00
Eric Hauser
ffebfe120b Fixing Jedis.(get|set)bit to use use booleans as input and output to better match Redis commands 2011-02-28 10:32:23 -03:00
Pieter Noordhuis
dac1d259c0 Don't wait for QUEUED replies in MULTI 2011-02-25 13:44:54 +01:00
Jonathan Leibiusky
2a4a43f4cd add JedisDataException and JedisConnectionException 2011-01-30 17:46:17 -03:00
Jonathan Leibiusky
4d5e5a7c5d add binary support for pubsub 2011-01-24 13:24:08 -03:00
Jonathan Leibiusky
7150c5feb3 pubsub command check if we are connected 2011-01-23 23:58:01 -03:00
Jonathan Leibiusky
66fc6be729 update transaction api with all the new commands 2011-01-20 12:18:25 -03:00
Jonathan Leibiusky
a13aff5421 update debug command 2011-01-20 11:36:17 -03:00
Jonathan Leibiusky
0d296a7f1a add bitset and bitget 2010-12-20 16:26:52 -03:00
Jonathan Leibiusky
3f79d80396 add brpoplpush 2010-12-20 11:10:02 -03:00
Jonathan Leibiusky
15c0e242d7 add bgrewriteaof 2010-12-20 10:36:43 -03:00
Jonathan Leibiusky
cd9e17a709 exists, sismember and hexists return Boolean instead of long 2010-11-30 12:51:01 -03:00
Jonathan Leibiusky
81ec9f8af3 add checks when server closes idle connections 2010-11-30 12:27:22 -03:00
Neil Gentleman
f8636ec16b Verify incr behaviour in rollover conditions. 2010-11-25 09:45:53 -03:00
Neil Gentleman
d18cc4bd13 incr/decr operate on 64-bit numbers. Switching from Integer to Long 2010-11-25 09:45:34 -03:00
Jonathan Leibiusky
970ea3adf4 add watch on several keys, and discard status return 2010-11-21 21:00:40 -03:00
Jonathan Leibiusky
098de44a07 add support for java 1.5 2010-11-21 19:53:43 -03:00
Jonathan Leibiusky
b013a74c44 Merge branch 'binaryAPI' of git://github.com/yaourt/jedis
Conflicts:
	src/main/java/redis/clients/jedis/Connection.java
	src/main/java/redis/clients/jedis/Jedis.java
	src/main/java/redis/clients/jedis/ShardedJedis.java
2010-11-15 23:55:57 -03:00
Yaourt
d3362da12c hvals now return a Collection, not a Set neither a List. 2010-11-12 15:42:42 +01:00
Yaourt
dd6874aa7a Hashes hkeys and hvals refactored to return a set instead of a list.
It looks like the order is not guaranted, so a set seems much adapted than a list.
2010-11-08 15:58:15 +01:00
Yaourt
e8704296fd Binary U test on Transaction ... 2010-11-08 14:59:57 +01:00
Yaourt
deb049d195 U tests for binary values manipulations. 2010-11-08 11:11:43 +01:00
Yaourt
4a71dff006 Binary Sorting fixed, and under U tests. 2010-11-07 18:10:07 +01:00
Yaourt
3281bafd2e Fix wrong test on lists / sets.
Lists comparison now take care of the order, which is not the case for Sets.
2010-11-07 10:49:45 +01:00
Yaourt
0beeddce5d Binary U test on SortedSets ... 2010-11-05 18:16:16 +01:00
Yaourt
5a87ae465e Binary U test on Sets ... 2010-11-05 17:11:31 +01:00
Yaourt
ad25921eca Binary U test on Lists ... 2010-11-05 16:41:38 +01:00
Yaourt
7d58a68d2d Binary U test on Hashes ... 2010-11-05 16:09:32 +01:00
Yaourt
c62a6762be Add Binary oriented U tests ... 2010-11-05 15:42:51 +01:00
Yaourt
a2b3417fce Fix some more U tests ...
Now only PubSub are still broken ... (little refactoring required)
2010-11-05 10:47:21 +01:00
Yaourt
a2468dff58 Fix some more U tests ... 2010-11-05 10:25:41 +01:00
Yaourt
ad5f44edc4 Fix some more U tests ... 2010-11-05 10:21:38 +01:00
Yaourt
2836d78c44 Fix some more U tests ... 2010-11-05 10:17:03 +01:00
Yaourt
f8afa09aa5 Fix some more U tests ... 2010-11-05 09:53:37 +01:00
Yaourt
ead39394a1 Fix some broken U tests (there are stille broken tests, working on it) 2010-11-04 18:55:00 +01:00
Jonathan Leibiusky
08f8432215 now it is possible to subscribe and unsubscribe on a JedisPubSub instance 2010-11-02 23:18:24 -03:00
Jonathan Leibiusky
07f5820a32 getIntegerReply should return Integer and not int to support null replies 2010-11-02 12:33:28 -03:00
Jonathan Leibiusky
7d3fb44639 Added support for -inf, +inf and open/closed intervals to zrangebyscore 2010-10-25 14:19:53 -03:00
Jonathan Leibiusky
86ae05f158 Fixed a typo in the test 2010-09-22 11:07:50 -03:00
Jonathan Leibiusky
1312c4d4ae Added DEBUG command 2010-09-15 20:17:30 -03:00