Commit Graph

435 Commits

Author SHA1 Message Date
Kevin Sawicki
bbb6d666ac Fix broken @see and @link tags 2011-06-28 10:52:46 -07:00
Kevin Sawicki
e9644a4529 Add JedisPool constructor that takes only host string 2011-06-24 16:44:12 -07:00
Kevin Sawicki
97bbfdc2d6 Iterate over entry set instead of key set. 2011-06-24 16:40:36 -07:00
Kevin Sawicki
234336b58b Fix @see tags referencing int params that are now long 2011-06-23 16:49:28 -07:00
Dmytro
6e4e1c39f4 Throwing Jedis connection exception on IO error rather than JedisException 2011-06-15 09:46:48 +01:00
Hisham Mardam-Bey
5ad02d083a Added string argument versions of zrange functions that can use -inf and +inf. Also added byte array versions where missing to make the API more complete. 2011-06-10 17:08:10 -04:00
Hisham Mardam-Bey
a4cef0b48a Use Double.NEGATIVE/POSITIVE_INFINITY instead of MIN_VALUE and MAX_VALUE to indicate -inf and +inf respectively. 2011-06-10 13:45:57 -04:00
Hisham Mardam-Bey
03d4208318 Added the ability to use Double.MIN_VALUE and Double.MAX_VALUE when calling sorted set methods to represent "-inf" and "+inf" respectively. 2011-06-09 23:24:56 -04:00
Jonathan Leibiusky
cbca00a78e Merge pull request #153 from ewhauser/master
Exception thrown when trying to get a key with pipeline that does not exist
2011-06-03 08:01:50 -07:00
Jonathan Leibiusky
9006178a05 JedisPool timeout was broken. Values <= 0 where treated as -1, where 0 is infinite 2011-06-03 11:48:55 -03:00
Jonathan Leibiusky
8465720d92 remove strange license header 2011-06-03 10:52:49 -03:00
Eric Hauser
8ddba03add switch SharededJedisPipeline to use return Response and deprecate existing API 2011-06-02 20:25:19 -04:00
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
6aa216f8cf remove watch from transaction 2011-05-30 14:23:20 -03: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
20ee796fa8 hvals response type consistency, was Collection should have been List 2011-05-15 21:59:00 -03:00
Jonathan Leibiusky
6e0be01f6f code cleanup 2011-05-15 21:56:46 -03:00
Dario Guzik
202d68a21c optimize 2011-05-15 18:34:15 -03:00
Dario Guzik
56fd098ee2 keep old connection file. DO NOT CROSS BRANCHES AGAIN 2011-05-15 18:24:23 -03:00
Dario Guzik
37587df2b6 MasterSlave consistency and old mode compatibility with shard names 2011-05-15 18:22:34 -03:00
Dario Guzik
9af964e88d Merge branch 'master' of https://github.com/xetorthio/jedis into Cleaning 2011-05-13 18:03:44 -03:00
Dario Guzik
ace1588501 disconnection 2011-05-13 18:03:38 -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
4e15a23e41 list command receive now long parameters to be consistent with return type 2011-05-11 23:23:06 -03:00
Jonathan Leibiusky
b6df4739a0 add Tuple compareTo 2011-05-11 23:09:37 -03:00
Jonathan Leibiusky
f25d70916c Merge pull request #103 from malomalo/set-compare
Tuple compare
2011-05-11 19:01:29 -07: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
66b0a5784d fix md5 hashing as MessageDigest is not threadsafe, now using ThreadLocal 2011-05-11 19:45:07 -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
0885681f63 fix small typo in exists command 2011-05-11 13:32:14 -03:00
Jonathan Leibiusky
b13c964500 jedis monitor should set client socket timeout to infinite 2011-05-02 01:54:52 -03:00
ewhauser
6e1ef5af50 adding bit commands to ShardedJedisPipeline 2011-04-28 14:39:08 -04:00
Jonathan Leibiusky
e5a3833d4a change doc as it confuses people about setting empty hashes 2011-04-25 13:12:14 -03:00
Jonathan Leibiusky
a94168bcc1 add del() to ShardedJedis 2011-04-25 11:05:31 -03:00
Jonathan Leibiusky
6c59e347c7 don't check if jedis is connected as PING will connect if necessary 2011-04-25 10:57:51 -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