Commit Graph

237 Commits

Author SHA1 Message Date
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
KARASZI István
7c680634a3 autoboxings fixed 2010-09-10 23:53:19 +08:00
Thomas Sauzedde
de5030e13f Fix processBulKReply against TCP fragmentation.
see http://github.com/xetorthio/jedis/issues#issue/10
2010-09-10 23:48:48 +08:00
Jonathan Leibiusky
395a32c269 Make sure resource is not null before destroying it 2010-09-09 09:11:58 -03:00
Jonathan Leibiusky
1d37728817 If it is not possible to create the resource, keep trying until it can 2010-09-07 17:10:52 -03:00
Jonathan Leibiusky
e6105efd69 Removed not useful information from the pool 2010-09-07 16:31:32 -03:00
Dario
d3be2f629d FixedResourcePool upgraded
Added pool destroy method.
Added idle connections validation (When needed)
Added metrics log every 10 seconds.
2010-09-07 22:15:32 +08:00
Jonathan Leibiusky
9fb41cfce4 Added sorting support to transaction 2010-09-07 09:58:36 -03:00
Jonathan Leibiusky
68905396d5 Fixed EOFException issue with JedisPool. Was trying to reuse a broken Jedis 2010-09-04 11:29:54 -03:00
Jonathan Leibiusky
00dedc5f25 Fix for GH-4, isResourceValid should check for PONG not OK 2010-09-03 10:38:33 -03:00
Jonathan Leibiusky
aa7a96d05c Fixed broken constructor. Wasn't setting default protocol 2010-08-30 11:12:24 -03:00
Pat Shields
366b2a05c2 Scores should be represented as doubles, not ints 2010-08-30 09:27:14 +08:00
Pat Shields
6a7b1db319 Need to get this reply from server, otherwise the next read is polluted 2010-08-30 09:25:33 +08:00
Jonathan Leibiusky
7c0505511e When in multi show a nice error if not using TransactionJedis 2010-08-27 17:22:21 -03:00
Graeme Rocher
f55deca678 discard() method on the Transaction object 2010-08-25 05:28:02 +08:00
Jonathan Leibiusky
96709e0a16 Added connection pool 2010-08-24 00:34:37 -03:00
Jonathan Leibiusky
2e3dc20c07 Fixed issue with converting String to byte array 2010-08-24 00:14:01 -03:00
Jonathan Leibiusky
3f0ecebe72 Implemented CONFIG 2010-08-08 16:07:33 -03:00
Jonathan Leibiusky
048d87d26c Addded default socket timeout of 2000 ms 2010-08-08 14:52:35 -03:00
Jonathan Leibiusky
50405b4d18 Implemented SLAVEOF 2010-08-08 13:53:45 -03:00
Jonathan Leibiusky
f0a426a7c7 Implemented MONITOR 2010-08-08 13:48:04 -03:00
Jonathan Leibiusky
0453ffcd1f Implemented INFO 2010-08-08 13:29:38 -03:00
Jonathan Leibiusky
5cc2d8874b Implemented SHUTDOWN 2010-08-08 13:26:42 -03:00
Jonathan Leibiusky
bb5fe63b72 Implemented LASTSAVE 2010-08-08 13:20:43 -03:00
Jonathan Leibiusky
bf3094f051 Implemented BGREWRITEAOF 2010-08-08 12:59:02 -03:00
Jonathan Leibiusky
6d92097c3a Implemented BGSAVE 2010-08-08 12:54:55 -03:00
Jonathan Leibiusky
86f3cffe24 Impmented SAVE command 2010-08-08 12:46:33 -03:00