Commit Graph

174 Commits

Author SHA1 Message Date
Eric Hauser
3b55731b7b Pipeline commands should not throw an exception when a key is unset 2011-06-02 00:42:56 -04:00
Jonathan Leibiusky
d690833ed6 avoid creating pipeline responses and do it lazy 2011-05-30 13:43:21 -03:00
Jonathan Leibiusky
44c3eef60e Add binary responses to binary transaction 2011-05-30 11:13:41 -03:00
Jonathan Leibiusky
525710aab6 remove unused test 2011-05-30 10:58:55 -03:00
Jonathan Leibiusky
00712f040d binary jedis watch command accepts several keys 2011-05-26 12:53:42 -03:00
Jonathan Leibiusky
607d31d96b On reconnection, select the correct db index 2011-05-15 22:17:21 -03:00
Jonathan Leibiusky
6e0be01f6f code cleanup 2011-05-15 21:56:46 -03:00
Dario Guzik
37587df2b6 MasterSlave consistency and old mode compatibility with shard names 2011-05-15 18:22:34 -03:00
Jonathan Leibiusky
6a78b32a84 Merge pull request #121 from ewhauser/master
Fix bug in getbit/setbit and add bit commands to ShardedJedisPipeline
2011-05-11 19:29:37 -07:00
Jonathan Leibiusky
b6df4739a0 add Tuple compareTo 2011-05-11 23:09:37 -03:00
Jonathan Leibiusky
6ff9683537 add getDB() which return the db number we are connected to 2011-05-11 22:50:53 -03:00
Jonathan Leibiusky
cd3b50268e add publish command to Pipeline 2011-05-11 22:29:42 -03:00
Jonathan Leibiusky
86fdf63cc9 add publish to transaction 2011-05-11 19:53:20 -03:00
Jonathan Leibiusky
0d6d37b95f throw JedisDataException when sending NULL values to redis as it is not a valid value in the protocol 2011-05-11 19:22:31 -03:00
Jonathan Leibiusky
cfc906167c add test to check JedisPool with password 2011-05-11 18:34:41 -03:00
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
bb4d951238 add benchmark for SafeEncoder 2011-04-17 23:17:54 -03:00
Jonathan Leibiusky
e87b8947c4 add more tests to pipeline repsonse 2011-04-17 01:03:26 -03:00
Jonathan Leibiusky
713cb15b03 remove stupid test :( 2011-04-16 22:43:07 -03:00
Jonathan Leibiusky
443686b155 double builder should build from string 2011-04-16 17:06:00 -03:00
Eric Hauser
cf74935721 fix reversed boolean logic for setbit 2011-04-06 23:47:31 -04: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
6707b62342 pipeline return formatted values 2011-04-06 01:07:20 -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
Dario Guzik
2785604639 Fix test keys 2011-03-02 17:50:12 -03:00
Dario Guzik
8b3c5fdf42 Generate keys for different shards 2011-03-02 17:44:59 -03: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
Jonathan Leibiusky
ac70d2352f Merge branch 'flush' of git://github.com/pietern/jedis into pietern-flush 2011-02-28 10:37:43 -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
Pieter Noordhuis
9dd23cec81 Flush to socket when starting to read 2011-02-25 13:00:34 +01:00
Jonathan Leibiusky
2a4a43f4cd add JedisDataException and JedisConnectionException 2011-01-30 17:46:17 -03:00
Jonathan Leibiusky
b4ad7697b7 remove since it was deprecated 2011-01-30 17:11:41 -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
1076140bf5 test use the new jedis pool config 2011-01-20 16:05:40 -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
6f92f5fc9c pool doesn't throw Exception anymore but JedisException 2010-12-10 17:36:44 -03:00
Jonathan Leibiusky
d33c0a52b9 Add benchmark for hashing algos 2010-12-02 01:47:18 -03:00