Commit Graph

187 Commits

Author SHA1 Message Date
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
Dmytro
604615d228 ISSUE 78: Removed logic that waits forever till all shards are connected in ShardedJedisPool
Ensuered that all commands connect at the beginning if necessary.
2011-03-25 11:19:17 +00: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
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
8a0054fe3e Merge branch 'hashset' of git://github.com/pietern/jedis into pietern-hashset 2011-02-28 14:58:09 -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
e7e4c4c26d Use #discard on the transaction object 2011-02-25 13:58:48 +01:00
Pieter Noordhuis
dac1d259c0 Don't wait for QUEUED replies in MULTI 2011-02-25 13:44:54 +01:00
Pieter Noordhuis
30435d7774 Use regular HashSet instead of LinkedHashSet for unordered replies 2011-02-25 13:13:48 +01:00
Jonathan Leibiusky
2a4a43f4cd add JedisDataException and JedisConnectionException 2011-01-30 17:46:17 -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
1857dd3413 getbit and setbit have now long offset 2011-01-20 11:50:38 -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
c30359581e add bgsave 2010-12-20 10:50:05 -03:00
Jonathan Leibiusky
15c0e242d7 add bgrewriteaof 2010-12-20 10:36:43 -03:00
Jonathan Leibiusky
afd34c8af6 hincr, incr and decr long support 2010-12-10 17:21:22 -03:00
Jonathan Leibiusky
cd9e17a709 exists, sismember and hexists return Boolean instead of long 2010-11-30 12:51:01 -03:00
Jonathan Leibiusky
8043f12e20 Add alternative pipeline usage 2010-11-27 15:44:43 -03:00
Neil Gentleman
d18cc4bd13 incr/decr operate on 64-bit numbers. Switching from Integer to Long 2010-11-25 09:45:34 -03:00
Jonathan Leibiusky
970ea3adf4 add watch on several keys, and discard status return 2010-11-21 21:00:40 -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
424512d4e6 keys command now return a set (instead of a list).
The assumption that keys are ordered seems to be false,on my laptop, with the keys 'foo' and 'foobar', keys('foo*') returns
['foobar', 'foo']
2010-11-07 10:48:23 +01:00
Yaourt
70cd1768cf Remove duplicates ... 2010-11-05 15:42:38 +01:00
Yaourt
37a3915298 BinaryJedis is born, Jedis inherits from it 2010-11-04 14:49:23 +01: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
Jonathan Leibiusky
6a1e141064 Added sharding benchmark and removed some imports 2010-09-30 21:04:21 -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
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
a8ffacd30a Added bunch of missing commands and a test to check if Jedis is updated 2010-09-14 12:08:56 -03:00
KARASZI István
7c680634a3 autoboxings fixed 2010-09-10 23:53:19 +08:00
Jonathan Leibiusky
68905396d5 Fixed EOFException issue with JedisPool. Was trying to reuse a broken Jedis 2010-09-04 11:29:54 -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
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