Jungtaek Lim
514144d472
Fix indentation (code formatting...)
2014-08-08 10:56:39 +09:00
Jungtaek Lim
1877185153
Merge branch 'master' into pipeline-and-transaction-can-handle-responses-on-their-own-status
...
* it's broken with later features, resetState()
* fixed resetState() to make it work with this PR
Conflicts:
src/main/java/redis/clients/jedis/BinaryJedis.java
src/main/java/redis/clients/jedis/Connection.java
src/main/java/redis/clients/jedis/Pipeline.java
src/main/java/redis/clients/jedis/Transaction.java
src/main/java/redis/clients/jedis/TransactionBlock.java
2014-08-08 10:46:43 +09:00
Jonathan Leibiusky
105ca9f5bb
Reformat all files in the project according to java conventions.
2014-01-31 11:24:06 -05:00
Jungtaek Lim
bc7cc5eddb
Shadow client field from PipelineBlock and TransactionBlock
...
* it prevent from user accessing BinaryClient, while it is not treated to pipeline command
** it could make troubles when reading responses
2014-01-20 14:35:42 +09:00
Jungtaek Lim
2267c3318c
Implemented Client.getMany(int count) to remove multiple flush while getting responses at once
2014-01-20 11:36:24 +09:00
Jungtaek Lim
5bf29b43ee
Let BinaryJedis.multi() consumes "OK" message
...
* Transaction doesn't have to consume "multi"'s response
2014-01-20 07:31:13 +09:00
Jungtaek Lim
f7bd9c8313
Refactor Pipeline / Transaction to consume responses based on their requests, not rely on pipelinedCommands
...
* remove pipelinedCommands field at Connection class
** it was a risky state value
*** it was under 0 or over 0(though all commands are executed) while some situation
* remove Connection.getAll(), Connection.getAll(int except)
2014-01-20 00:28:00 +09:00
mindwind
7655994933
new - supplement transaction missing api and fix some args type definition which is inconsistent with jedis
2013-07-01 14:30:19 +08:00
samhendley
6b5fccdc0a
refactored pipelinebase so it is usable to implement SharedJedisPipeline as well.
2013-01-10 02:29:39 -05:00
samhendley
c8ddd237c3
extracted common Pipeline operations into PipelineBase and used that to simplify BinaryTransaction/Transaction
2013-01-10 01:16:54 -05:00
Jonathan Leibiusky
6f4a32d2a1
add select to transaction
2011-12-23 11:44:39 -03: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
86fdf63cc9
add publish to transaction
2011-05-11 19:53:20 -03:00
Jonathan Leibiusky
3fb7a52017
multi/exec block return formatted responses
2011-04-06 01:38:19 -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
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
Jonathan Leibiusky
b833089005
update missing sort command in transactions api
2011-01-21 11:33:19 -03:00
Jonathan Leibiusky
c5f86a16e3
add missing sort overloads to Transaction
2011-01-20 15:16:11 -03:00
Jonathan Leibiusky
66fc6be729
update transaction api with all the new commands
2011-01-20 12:18:25 -03:00
Jonathan Leibiusky
970ea3adf4
add watch on several keys, and discard status return
2010-11-21 21:00:40 -03:00
Yaourt
84bb16dd5e
BinaryTransactiob is born, Transaction inherits from it
2010-11-04 15:08:50 +01:00
Jonathan Leibiusky
9fb41cfce4
Added sorting support to transaction
2010-09-07 09:58:36 -03:00
Jonathan Leibiusky
7c0505511e
When in multi show a nice error if not using TransactionJedis
2010-08-27 17:22:21 -03:00
Graeme Rocher
f55deca678
discard() method on the Transaction object
2010-08-25 05:28:02 +08:00
Jonathan Leibiusky
1df234153b
New exception management. Less exceptions... assume everything works
2010-08-04 20:15:08 -03:00
Jonathan Leibiusky
20acb5bc60
Refactored to support object multi bulk reply
2010-07-07 22:55:35 -03:00
Jonathan Leibiusky
81cc2cec8e
Added transactions support
2010-07-05 00:35:47 -03:00