Commit Graph

163 Commits

Author SHA1 Message Date
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
Yaourt
ce876e2b56 Add a binary sendCommand(...) 2010-11-04 09:21:18 +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
AIT
a732ed3a19 IJedis renamed ro JedisCommands 2010-10-18 11:23:11 -03:00
AIT
e38a3fc012 Introducing IJedis common interface for sharded and non-sharded Jedis 2010-10-18 11:22:50 -03:00
Cyril Bonté
3f21dcd0eb Fixed a performance issue with utf8 characters.
When an utf8 char was detected in a string, jedis flushed its output buffer
for each char. Now, the buffer is only flushed when it is really full.
2010-10-09 20:46:50 +02:00
m-heuser
da876fe7d2 Changed scm params to fit for xetorthio's jedis repository, formated SortingParams with java coding style. 2010-10-02 08:46:08 +02:00
Jonathan Leibiusky
45bb728425 Removed System.out and System.err logging. Using native java logging support 2010-10-01 15:13:53 -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
6da1852d0d Merge commit 'origin/master' into key-tags 2010-09-30 17:28:45 -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
m-heuser
723702b492 added javadoc comments and nosearch() 2010-09-29 00:14:09 +02: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
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
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
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
Jonathan Leibiusky
a8ffacd30a Added bunch of missing commands and a test to check if Jedis is updated 2010-09-14 12:08:56 -03:00
Alex Tkachman
032fe7e134 ability to provide logger instead of stdout 2010-09-14 11:50:49 +02:00
Jonathan Leibiusky
baab2225f6 Added sharding using ketama 2010-09-14 01:30:59 -03:00
Alex Tkachman
f9e7887e02 more optimizations on write side 2010-09-12 17:05:58 +02:00
Alex Tkachman
aed824c94c more optimizations on write side 2010-09-12 12:36:16 +02:00
Alex Tkachman
b573526a0d optimized writeInt 2010-09-11 21:48:36 +03:00
Alex Tkachman
a521841ff5 a bit faster implementation of output stream for Redis 2010-09-11 21:15:38 +03:00
Alex Tkachman
d4d133291e isUse must be final otherwise synchronized has no useful semantic 2010-09-11 09:54:06 +03:00
KARASZI István
c6507e6187 connect in sendCommand() and don't check with isConnected() two times 2010-09-11 00:03:28 +08:00
KARASZI István
a614f1ff3e return types fixed 2010-09-10 23:59:50 +08:00