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
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
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
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
Pieter Noordhuis
9dd23cec81
Flush to socket when starting to read
2011-02-25 13:00:34 +01:00
Steven Hugg
33ceb6da0f
set keepAlive on pub/sub sockets (infinite timeout) in case we don't see the connection close
2011-02-16 09:59:31 -05:00
Mike Hobbs
dad1b8c394
Connect.connect() now honors timeout value
2011-02-10 15:00:53 -03: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
b833089005
update missing sort command in transactions api
2011-01-21 11:33:19 -03:00
Jonathan Leibiusky
f30094501c
update missing commands in binary transaction
2011-01-21 11:20:36 -03:00
Jonathan Leibiusky
2896ddddeb
add defaults to pool config
2011-01-20 16:02:23 -03:00
Steven Hugg
1d5589f247
added JedisPoolConfig getters/setters so object pool can be configured with Spring/IoC
2011-01-20 15:59:14 -03:00
Ghais Issa
a2a8bc0828
Binary client delegates for Pipline
2011-01-20 15:54:58 -03:00
Jonathan Leibiusky
c5f86a16e3
add missing sort overloads to Transaction
2011-01-20 15:16:11 -03:00
Jonathan Leibiusky
b243d107e9
setbit and getbit receive long offset in BinaryJedis
2011-01-20 15:08:24 -03:00
Jonathan Leibiusky
66fc6be729
update transaction api with all the new commands
2011-01-20 12:18:25 -03:00
Jonathan Leibiusky
1857dd3413
getbit and setbit have now long offset
2011-01-20 11:50:38 -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
586cc9f6d9
add save and lastsave to pipeline
2010-12-20 11:29:22 -03:00
Jonathan Leibiusky
f43ca04bd9
add config resetstat
2010-12-20 11:21:11 -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
6f92f5fc9c
pool doesn't throw Exception anymore but JedisException
2010-12-10 17:36:44 -03:00
Jonathan Leibiusky
dadaaecfdb
Add constrcutor with default pool conf
2010-12-10 17:26:02 -03:00
Jonathan Leibiusky
afd34c8af6
hincr, incr and decr long support
2010-12-10 17:21:22 -03:00
zoz
ff8ac4c9db
Surround jedis.quit() in try/catch to ignore connection problems in
...
method destroyObject
2010-12-02 12:14:01 -08:00
Jonathan Leibiusky
ad26ea23ad
fix consistent hashing, both MD5 and Murmur,
2010-12-02 01:46:31 -03:00
Jonathan Leibiusky
c4263b0a2d
remove java 1.6 specific annotations
2010-11-30 12:58:20 -03:00
Jonathan Leibiusky
cd9e17a709
exists, sismember and hexists return Boolean instead of long
2010-11-30 12:51:01 -03:00
Jonathan Leibiusky
81ec9f8af3
add checks when server closes idle connections
2010-11-30 12:27:22 -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
a1815f3881
Now Sharded will handle connections instead of Info, so connection won't be shared between instances of ShardedJedis
2010-11-22 12:49:18 -03:00