Commit Graph

386 Commits

Author SHA1 Message Date
Jonathan Leibiusky
1857dd3413 getbit and setbit have now long offset 2011-01-20 11:50:38 -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
586cc9f6d9 add save and lastsave to pipeline 2010-12-20 11:29:22 -03:00
Jonathan Leibiusky
f43ca04bd9 add config resetstat 2010-12-20 11:21:11 -03:00
Jonathan Leibiusky
3f79d80396 add brpoplpush 2010-12-20 11:10:02 -03:00
Jonathan Leibiusky
c30359581e add bgsave 2010-12-20 10:50:05 -03:00
Jonathan Leibiusky
15c0e242d7 add bgrewriteaof 2010-12-20 10:36:43 -03:00
Jonathan Leibiusky
dadaaecfdb Add constrcutor with default pool conf 2010-12-10 17:26:02 -03:00
Jonathan Leibiusky
afd34c8af6 hincr, incr and decr long support 2010-12-10 17:21:22 -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
ad26ea23ad fix consistent hashing, both MD5 and Murmur, 2010-12-02 01:46:31 -03:00
Jonathan Leibiusky
c4263b0a2d remove java 1.6 specific annotations 2010-11-30 12:58:20 -03:00
Jonathan Leibiusky
cd9e17a709 exists, sismember and hexists return Boolean instead of long 2010-11-30 12:51:01 -03:00
Jonathan Leibiusky
8043f12e20 Add alternative pipeline usage 2010-11-27 15:44:43 -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
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
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
71eb4c5b4a replace custom pool implementation with apache's 2010-11-21 18:16:31 -03:00
Jonathan Leibiusky
e7582644b1 Merge branch 'ApacheCommonsPool' of git://github.com/yaourt/jedis 2010-11-21 17:31:15 -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
Jonathan Leibiusky
f62548931c Add a pool for sharded jedis 2010-11-10 13:41:41 -03: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
3d8d152227 Apache Jakarta commons-pool based JedisPool. 2010-11-07 22:32:19 +01:00
Yaourt
4a71dff006 Binary Sorting fixed, and under U tests. 2010-11-07 18:10:07 +01:00
Yaourt
424512d4e6 keys command now return a set (instead of a list).
The assumption that keys are ordered seems to be false,on my laptop, with the keys 'foo' and 'foobar', keys('foo*') returns
['foobar', 'foo']
2010-11-07 10:48:23 +01:00
Yaourt
0beeddce5d Binary U test on SortedSets ... 2010-11-05 18:16:16 +01:00
Yaourt
c62a6762be Add Binary oriented U tests ... 2010-11-05 15:42:51 +01:00
Yaourt
70cd1768cf Remove duplicates ... 2010-11-05 15:42:38 +01:00
Yaourt
11fec5c182 Ready to be merged back to master ...
Last buggy U tests fixed.
2010-11-05 14:47:50 +01:00
Yaourt
2836d78c44 Fix some more U tests ... 2010-11-05 10:17:03 +01:00
Yaourt
afad308e29 Fix some more U tests ... 2010-11-05 09:57:54 +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
Yaourt
e2d8148802 Binary key & values seems to be implemented now 2010-11-04 15:59:50 +01:00
Yaourt
84bb16dd5e BinaryTransactiob is born, Transaction inherits from it 2010-11-04 15:08:50 +01:00
Yaourt
37a3915298 BinaryJedis is born, Jedis inherits from it 2010-11-04 14:49:23 +01:00
Yaourt
ef1cbfafc9 JedisCommands DOES NOT inherit from BinaryJedisCommand 2010-11-04 14:08:18 +01:00
Yaourt
7213955d62 JedisCommands inherit from BinaryJediCommands 2010-11-04 13:59:26 +01:00
Yaourt
9614a99a5a BinaryJedisCommands skeleton 2010-11-04 13:51:42 +01:00
Yaourt
78e7b653c2 Client inherits from BinaryClient... 2010-11-04 13:45:04 +01:00
Yaourt
85ce39ca3e BinaryClient is born 2010-11-04 12:22:40 +01:00
Yaourt
377c266dc1 Add a sendCommand(String byte[]...) method. 2010-11-04 10:31:20 +01:00
Yaourt
ddd3932906 Code cleanup (final method params) 2010-11-04 10:22:39 +01:00
Yaourt
daec806c5a UTF-8 charset declared in Protocol, added a getBinaryBulkReply() in Connection 2010-11-04 09:31:21 +01:00
Yaourt
69c1c644ea processBulkReply(...) now return a byte[] (instead of String). 2010-11-04 09:26:26 +01:00
Yaourt
77590f5b21 Added final to methods params 2010-11-04 09:25:10 +01:00