Jungtaek Lim
6f8d46ae4f
Merge branch 'master' into implements-closeable-to-pooled-jedis-shardedjedis
...
Conflicts:
src/main/java/redis/clients/jedis/Jedis.java
src/main/java/redis/clients/jedis/JedisSentinelPool.java
src/main/java/redis/clients/jedis/ShardedJedis.java
src/test/java/redis/clients/jedis/tests/JedisPoolTest.java
2014-05-26 11:18:45 +09:00
Marcos Nils
50052e90ad
Manually merge #400
2014-05-25 15:32:12 -03:00
Marcos Nils
0d5062c347
Merge branch 'master' of github.com:xetorthio/jedis
2014-05-25 15:23:59 -03:00
Marcos Nils
3131279b5b
Manually merge with #574
2014-05-25 15:22:20 -03:00
Marcos Nils
213d186c8d
Merge pull request #576 from aniketschneider/pexpire-long-with-deprecation
...
Accept long parameter for pexpire
2014-05-25 21:12:33 +03:00
Marcos Nils
6106f5bbe6
Manually merge #578 to master
2014-05-25 15:01:24 -03:00
Alok Singh
d9d039d060
Added pfcount(keys) to BinaryJedis interfaces
2014-04-29 08:58:15 -07:00
Jungtaek Lim
11f05ec161
Apply binary PF* commands to BinaryJedis, BinaryShardedJedis
...
* Apply binary PF* commands to BinaryJedis, BinaryShardedJedis
* binary PF* commands to interface
** pfadd / pfcount : BinaryJedisCommands
** pfmerge : MultiKeyBinaryCommands
2014-04-05 23:21:47 +09:00
Aniket Schneider
e7285ade5c
Accept long parameter for pexpire
2014-03-05 17:04:47 -05:00
Jungtaek Lim
0cd32a6103
Expose *SCAN commands to BinaryJedis
...
* method signatures are a bit similar to Jedis's *SCAN
** but it takes parameters to byte[] instead of String
* ScanParams : allow match pattern with byte[]
* ScanResult : add method to get cursor with byte[] type
* *SCAN for BinaryJedis unit tests included
2014-03-04 23:54:44 +09:00
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
Eric Treworgy
6af41cdac2
merging with master branch. Required refactoring of Pipeline code.
2013-02-20 12:24:15 -08: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
Eric Treworgy
610f7d4546
Added incrByFloat and hincrByFloat commands (binary and standard) + support for pipelining and sharding
2013-01-07 12:33:19 -08: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