Commit Graph

218 Commits

Author SHA1 Message Date
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
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
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
9ff9ab3505 Use Arrays.equals(...) instead of hand written method for arrays comparison 2010-11-05 10:56:54 +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
47a39cb520 Fix some more U tests ... 2010-11-05 10:28:19 +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
dab21609e6 Fix some more U tests ... 2010-11-05 09:33:57 +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
abd464f9bd Implemented commands are retreived from Protocol.Command enum 2010-11-04 17:48:58 +01:00
Yaourt
fd8e3116ab Fix broken U tests 2010-11-04 17:14:06 +01:00
Yaourt
e2d8148802 Binary key & values seems to be implemented now 2010-11-04 15:59:50 +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
d70c42edb9 Added sharding+pipelining support 2010-11-02 01:04:02 -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
99a50db3ea Disabled logging in JedisPool benchmark 2010-10-14 09:12:41 -03:00
Jonathan Leibiusky
6a1e141064 Added sharding benchmark and removed some imports 2010-09-30 21:04:21 -03:00
Murilo Queiroz
39618506e4 Key tags support made optional.
The regular expression in the key tags code leads to a 20% performance hit,
so it's disabled by default.
2010-09-30 18:14:32 -03:00
Murilo Queiroz
2df3a1b258 Added support for key tags.
See http://code.google.com/p/redis/wiki/FAQ#I'm_using_some_form_of_key_hashing_for_partitioning,_but_wh
2010-09-30 17:17:51 -03:00
Jonathan Leibiusky
592bc69e4e Removed ignore attribute 2010-09-22 11:08:03 -03:00
Jonathan Leibiusky
86ae05f158 Fixed a typo in the test 2010-09-22 11:07:50 -03:00
Alex Tkachman
53efb8471f simplification of sharding 2010-09-16 15:41:04 +02:00
Jonathan Leibiusky
1312c4d4ae Added DEBUG command 2010-09-15 20:17:30 -03:00
Jonathan Leibiusky
3d1546131a Implemented linsert 2010-09-15 17:17:24 -03:00
Jonathan Leibiusky
edcf7412ff Changed MurmurHash algo, to the one developed in http://github.com/tdunning/MAHOUT-228 2010-09-15 15:06:12 -03:00
Jonathan Leibiusky
59f7063b2c Merge branch 'master' of http://github.com/yaourt/jedis 2010-09-15 14:44:56 -03:00
Jonathan Leibiusky
ed20894c95 Refactores primitive types in the API. Now int -> Integer and double -> Double.
This is to support Redis null values
2010-09-15 14:41:35 -03:00
Yaourt
4a1d9928b5 Update the way the Redis host(s) can be configured for the tests.
There is now a single property : redis-hosts.
This property must contain at least 2 host definitions of the form "host:port" (comma separated).
Sharding tests need 2 hosts ...

If this is not the case, the default value used is "localhost:6379,localhost:6380".
Tests that required one host are using the first definition.
2010-09-15 10:49:36 +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
708ae8a56e Fixed small bug in the benchmark test 2010-09-14 14:17:10 -03:00
Jonathan Leibiusky
703244c85e Merge branch 'master' of http://github.com/alextkachman/jedis 2010-09-14 14:11:57 -03:00
Jonathan Leibiusky
8629360954 Added MurmureHash as sharding algo. 2010-09-14 14:08:49 -03:00