Commit Graph

330 Commits

Author SHA1 Message Date
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
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
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
8aa25eb9b3 Merge branch 'issue-78' of https://github.com/grdmitro/jedis into grdmitro-issue-78 2011-04-06 02:03:51 -03:00
Jonathan Leibiusky
1502990cea Merge branch 'safe_disconnect' of https://github.com/grdmitro/jedis into grdmitro-safe_disconnect 2011-04-06 02:00:13 -03:00
Jonathan Leibiusky
90e68fa482 Merge branch 'ordered_shards_iteration' of https://github.com/grdmitro/jedis into grdmitro-ordered_shards_iteration 2011-04-06 01:57:14 -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
Dmytro
f16d91550d made shard iterable in the same order as in config during creation 2011-04-05 15:41:28 +01:00
Dmytro
620a5d699f safe disconnect 2011-03-25 15:15:57 +00: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
Dmytro
da3092e695 reverted back vetify() as connection checks could be disabled in pool config 2011-03-25 14:35:29 +00:00
Jonathan Leibiusky
74ca0e1d71 Merge branch 'MasterSlaveConsistency' of https://github.com/TioBorracho/jedis into TioBorracho-MasterSlaveConsistency 2011-03-25 10:56:57 -03:00
Jonathan Leibiusky
347d743de4 should always default to Murmur to be consistent everywhere 2011-03-25 10:52:06 -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
Dmytro
cb0d76051d made getShardInfo(byte[]) public 2011-03-21 15:03:34 +00:00
Dmytro
dc89193635 Revert "made getShardInfo(byte[]) public"
This reverts commit 0801b01ccb.
2011-03-21 14:58:29 +00:00
Dmytro
0801b01ccb made getShardInfo(byte[]) public 2011-03-21 14:32:50 +00:00
Jon Bracy
9dd1cff428 Compare Tuples based on the element, not the element & score
Set uses equals to compare if the set is already in the set. Redis
Sorted Sets are unique on the value, not the value with the score. The
Tuple.equals should return true when the elements are equal regardless
of what the score is. The score should be used when comparing to another
element in the set to see if it is < or >.
2011-03-08 16:54:52 -05: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
3d1603b59b Generate shard nodes by shard position. Shards are now host/port independent 2011-03-02 17:53:27 -03: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
121af74972 add public setrange and getrange 2011-02-28 15:59:10 -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
8a0054fe3e Merge branch 'hashset' of git://github.com/pietern/jedis into pietern-hashset 2011-02-28 14:58:09 -03:00
Jonathan Leibiusky
28fb816bef pubsub should flush commands ASAP since it won't read from the socket 2011-02-28 13:12:47 -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
ewhauser
b7eb51f75c adding support for bit manipulation in to pipeline 2011-02-28 10:35:12 -03:00
Eric Hauser
430601f31e Adding support for bit commands get/setrange 2011-02-28 10:35:00 -03:00
Eric Hauser
e12f655fa3 Adding setbit/getbit to ShardedJedis 2011-02-28 10:34:45 -03:00