Jungtaek Lim
670e019a89
Implements Closeable to Pooled Jedis & ShardedJedis
...
* Implement Closeable from Jedis, ShardedJedis with Pooled
** resources from JedisPool, JedisSentinelPool, ShardedJedis, ShardedJedisPool
* Connection class : check whether Jedis Connection is broken
** when it's time to throw JedisConnectionException, mark Connection to broken
2014-02-23 23:50:40 +09:00
Jonathan Leibiusky
79f1dcb92b
Merge branch 'master' of github.com:hgschmie/jedis into hgschmie-master
2014-02-11 12:22:01 -05:00
Jungtaek Lim
1ed231cf15
Mark @Duplicated to TransactionBlock and PipelineBlock related classes /
...
methods
2014-02-10 07:55:27 +09:00
Henning Schmiedehausen
7449619fca
Implement Closeable for Jedis, BinaryJedis etc.
...
This allows a Jedis object to participate in try-with-resources when
using Java 7+. This change is fully backwards compatible to Java 6 and
previous releases of the Jedis client.
2014-02-07 13:39:41 -08:00
Jonathan Leibiusky
d5f984a9d6
Merge branch 'transaction-block-should-not-call-discard-when-exception-ocurred' of github.com:HeartSaVioR/jedis into HeartSaVioR-transaction-block-should-not-call-discard-when-exception-ocurred
...
Conflicts:
src/test/java/redis/clients/jedis/tests/commands/TransactionCommandsTest.java
2014-02-03 10:46:23 -05:00
Jonathan Leibiusky
105ca9f5bb
Reformat all files in the project according to java conventions.
2014-01-31 11:24:06 -05:00
Jonathan Leibiusky
265eab0cc9
Merge branch 'reset-state-of-jedis-client' of github.com:HeartSaVioR/jedis into HeartSaVioR-reset-state-of-jedis-client
2014-01-28 16:50:11 -05:00
Marcos Nils
b05d9adfb0
Change zadd parameter order to allow duplicated scoremembers but not members
2014-01-26 13:53:34 -03:00
Jonathan Leibiusky
01842e4731
Merge branch 'fix-eval-argument-in-binary-jedis' of github.com:HeartSaVioR/jedis into HeartSaVioR-fix-eval-argument-in-binary-jedis
2014-01-18 11:39:31 -05:00
Jonathan Leibiusky
842dcd2a95
Merge branch 'cluster' of github.com:marcosnils/jedis into marcosnils-cluster
...
Conflicts:
src/main/java/redis/clients/jedis/BinaryClient.java
src/main/java/redis/clients/jedis/Client.java
src/main/java/redis/clients/jedis/Jedis.java
src/main/java/redis/clients/jedis/Protocol.java
2014-01-16 16:35:04 -05:00
Jungtaek Lim
53b3e041f3
Fix BinaryJedis.eval() method bug (argument)
...
* append unit test for BinaryJedis
2013-12-23 14:19:28 +09:00
Jungtaek Lim
3073f778b4
JedisPool / JedisSentinelPool resets returning object's state (watched,
...
multi)
* BinaryClient / BinaryJedis : added feature to reset its state
(watched, multi)
* JedisPool / JedisSentinelPool : calls new feature (reset state) when
Jedis object returns to pool
* Unit Test included
2013-12-21 01:33:46 +09:00
Jungtaek Lim
10c131bbf0
BinaryJedis.multi(TransactionBlock) should not call discard when exception occurred
...
* In BinaryJedis.multi(TransactionBlock), multi & exec already fired before exception occured, so sending discard has no effect, and made another error
** add unit test (error inside TransactionBlock)
*** Transaction with error - Redis discards transaction automatically (execabort)
*** Transaction with error - Redis doesn't roll back (force to execute all)
2013-12-09 10:54:53 +09:00
Marcos Nils
a8987ed865
Add first test to thorw MovedDataException when receiving MOVED from a cluster node
2013-12-07 17:55:17 -03:00
Jonathan Leibiusky
46734e646a
add WAIT command
2013-12-05 09:35:13 -05:00
Jonathan Leibiusky
ceac8123d6
make control command tests fast
2013-12-03 17:54:35 -05:00
Hisham Mardam-Bey
597366343d
Fixed up eval(sha) tests to better check that the lua script ran properly.
2013-10-05 18:13:30 -04:00
Hisham Mardam-Bey
2ee7430518
Fixed issue #456 (evalsha loses args).
2013-10-05 17:33:25 -04:00
Hisham Mardam-Bey
a71c3dff17
Merge remote-tracking branch 'amimimor/master'
2013-08-21 20:32:27 -04: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
mindwind
1080d136ec
new - command for redis 2.6
2013-06-29 23:15:56 +08:00
mindwind
e7a88a49e9
new - pexpire, pexpireat and pttl command
2013-06-29 15:13:21 +08:00
mindwind
8b3ea5f2de
new - dump and restore command
2013-06-29 14:17:44 +08:00
amitm
24c6b7c867
support for new 'set' command (redis 2.6.12+)
2013-05-13 12:40:24 +03:00
Jonathan Leibiusky
69f5340aa6
add info optional parameter
2013-02-05 15:55:48 -03:00
samhendley
258ac300fc
added variadic versions of lpush/rpush(x) functions
2013-01-10 02:39:48 -05:00
samhendley
4c7cc57ede
Added bitcount to standard interfaces and bitop to MultiKey interfaces (since it is non-shardable)
...
Merge branch 'impl-bitcount-and-bitop' of git://github.com/koron/jedis
Conflicts:
src/main/java/redis/clients/jedis/JedisCommands.java
2013-01-09 23:49:05 -05:00
samhendley
5bde3da7f2
added interfaces for ScriptingCommands, AdvancedCommands most of jedis and binaryjedis are defined by interfaces
2012-12-26 11:45:57 -05:00
samhendley
cc0ef89b7d
added binary version of MultiKey commands
2012-12-26 10:22:38 -05:00
samhendley
2006d80ac5
normalized BinaryJedisCommands to match JedisCommands (including setbit)
2012-12-25 16:00:43 -05:00
samhendley
429e45081e
removed functions in Jedis that overrode BinaryJedis versions
2012-12-25 09:21:44 -05:00
Jonathan Leibiusky
8f9763a7e9
add url support
2012-08-01 16:49:44 -03:00
ivowiblo
129e358c9d
Now methods accepting infinit and exclusions are supported as String and byte[] overloads
2012-05-03 23:30:44 -04:00
Jonathan Leibiusky
5244d82450
Merge branch 'Object' of git://github.com/ivowiblo/jedis
...
Conflicts:
src/main/java/redis/clients/jedis/BinaryJedisCommands.java
src/main/java/redis/clients/jedis/BinaryShardedJedis.java
src/main/java/redis/clients/jedis/Commands.java
src/main/java/redis/clients/jedis/Jedis.java
src/main/java/redis/clients/jedis/Protocol.java
2012-04-23 23:00:13 -03:00
Jonathan Leibiusky
05503212aa
Merge branch 'variadic' of git://github.com/ivowiblo/jedis into variadic
...
Conflicts:
src/main/java/redis/clients/jedis/BinaryClient.java
src/main/java/redis/clients/jedis/BinaryJedis.java
src/main/java/redis/clients/jedis/BinaryShardedJedis.java
src/main/java/redis/clients/jedis/Client.java
src/main/java/redis/clients/jedis/Commands.java
src/main/java/redis/clients/jedis/Jedis.java
src/main/java/redis/clients/jedis/ShardedJedis.java
2012-04-23 21:00:29 -03:00
Jonathan Leibiusky
3da2f2dd57
Merge branch 'slowlog' of git://github.com/ivowiblo/jedis into slowlog
...
Conflicts:
src/main/java/redis/clients/jedis/BinaryClient.java
src/main/java/redis/clients/jedis/BinaryJedis.java
src/main/java/redis/clients/jedis/Jedis.java
src/main/java/redis/clients/jedis/Protocol.java
2012-04-23 20:35:55 -03:00
ivowiblo
e008f403b1
SLOWLOG RESET is fixed
2012-04-19 02:59:52 -04:00
ivowiblo
d5c2b9965c
Slowlog commands. The unit test is failing.
2012-04-19 02:53:26 -04:00
ivowiblo
d102ccf1b9
Object commands are supported
2012-04-19 00:32:23 -04:00
Jonathan Leibiusky
f3dbc65bd1
Merge branch 'scriptsupport' of git://github.com/ivowiblo/jedis into ivowiblo-scriptsupport
2012-04-18 18:10:45 -03:00
ivowiblo
8aca0b77f9
Variadic commands
2012-04-18 15:22:43 -04:00
ivowiblo
df75c72825
Eval and Evalsha api improved
2012-04-14 22:54:43 -03:00
Ivo Ramirez
df1dfce327
SCRIPT KILL command fixed
2012-04-14 10:26:14 -03:00
Ivo Ramirez
9bf19c6237
Binary scripting API is tested
2012-04-14 10:17:41 -03:00
Ivo Ramirez
3c86ebcd36
Script commands are supported.
2012-04-14 08:45:26 -03:00
Ivo Ramirez
9dc89626ac
Eval and Evalsha is now supported
...
Conflicts:
src/main/java/redis/clients/jedis/Client.java
src/main/java/redis/clients/jedis/Jedis.java
2012-04-14 08:41:27 -03:00
Shaofeng Niu
f010bc0f32
add variadic arguments support to lpush and rpush
2012-02-14 17:42:06 +08:00
Jonathan Leibiusky
72ca494362
add missing command to Transaction, BinaryTransaction and Pipeline
2011-12-23 12:31:32 -03:00
Jonathan Leibiusky
ef3a532902
Merge pull request #172 from kevinsawicki/docs2
...
Fix broken @see and @link javadoc tags
2011-08-31 05:28:51 -07:00
Justin Sanders
0aab8cb63b
Fixed comments in exists, return values were incorrect
2011-08-16 11:15:07 -04:00