Commit Graph

351 Commits

Author SHA1 Message Date
ivowiblo
9e13233bbf DS_Store files removed 2012-04-17 16:06:03 -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
ivowiblo
96d405a6e3 scripting support 2012-04-14 09:10:00 -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
6f4a32d2a1 add select to transaction 2011-12-23 11:44:39 -03:00
ivos
f3a5d62e2b Issue #158 is fixed: Response.get() returns null if redis returned null (i.e. when using zscore for a non existing member) 2011-12-14 09:18:36 -03:00
Jonathan Leibiusky
79965d5d0a Merge remote branch 'raszi/findbugs'
Conflicts:
	src/test/java/redis/clients/jedis/tests/ShardedJedisPipelineTest.java
2011-12-13 19:16:14 -03:00
Jonathan Leibiusky
cb1b19b5d4 Merge branch 'master' of https://github.com/ivowiblo/jedis
Conflicts:
	src/test/java/redis/clients/jedis/tests/ShardedJedisPipelineTest.java
2011-12-13 18:08:17 -03:00
ivos
d97f30a01a Pipeline tests are authenticated. bgrewriteaof command test now supports scheduled status. 2011-12-13 21:33:14 +01:00
KARASZI István
04f603820f fixed some FindBugs errors 2011-09-26 17:45:49 +02:00
KARASZI István
9d4d11ef46 no need to instantiate the Protocol class that can be static 2011-09-26 15:40:16 +02:00
Yaourt
f82fb50897 Update ShardedJedisPipelineTest class name. 2011-09-16 22:40:39 +02:00
Yaourt
dcba7bd3b3 Rename test : Shar<>edJedisPipelineTest to ShardedJedisPipelineTest 2011-09-16 17:23:59 +02:00
Yaourt
fd0c57599c Fix broken test due to missing authent 2011-09-16 17:22:59 +02:00
Eric Hauser
b7ee1fe29a Merge pull request #189 from vsoskov/jedis
---

the exception is returned in the list with the not formatted and formatted values.
Response.get throws the exception.
2011-09-13 23:08:20 -04:00
Eric Hauser
bb806ae066 Merge pull request #154 from ewhauser/jedis
---

Per http://groups.google.com/group/jedis_redis/browse_thread/thread/38c94a90d97d429b
2011-09-12 23:13:18 -04:00
Eric Hauser
e9d8886eb2 Merge pull request #197 from michaelcameron/jedis
---

We would like to add the ability to specify the database number on the pool config. We have a number of integration/functional tests in different projects using redis and would like to keep them separate. Setting up a number of redis server instances on different ports would become unwieldy.

The changes add the ability to specify the database number for jedis pools with associated test. I did not add the ability to create a raw jedis connection with a database number because the current implementation of pool creates the jedis object first, then if a password exists it calls the auth command. However, if a password is required, then the select command on the jedis create would fail. I also did not change the shard constructor of jedis to use a database number (which actually does have the constructor of jedis call the auth command). 

I could clean up the implementation to always have the jedis constructor call auth if a password exists, then select the database if it is non-zero, and changing sharding info to contain a database config value. Let me know if you want me to make these bigger changes.
2011-09-12 22:53:30 -04:00
Eric Hauser
a9ef10bb00 fix ignore that was placed on wrong test 2011-09-12 22:48:58 -04:00
Eric Hauser
b178e25d37 ignoring broken test until jonathon can comment on the correct logic 2011-09-12 22:38:39 -04:00
Michael Cameron
fb33b262e4 Add ability to specify database number in pool config 2011-08-26 16:47:37 -05:00
Vladimir Soskov
22d4d3fc53 fixing Issue 188 2011-07-31 19:50:16 -07:00
Eric Hauser
8ddba03add switch SharededJedisPipeline to use return Response and deprecate existing API 2011-06-02 20:25:19 -04:00
Eric Hauser
3b55731b7b Pipeline commands should not throw an exception when a key is unset 2011-06-02 00:42:56 -04:00
Jonathan Leibiusky
d690833ed6 avoid creating pipeline responses and do it lazy 2011-05-30 13:43:21 -03:00
Jonathan Leibiusky
44c3eef60e Add binary responses to binary transaction 2011-05-30 11:13:41 -03:00
Jonathan Leibiusky
525710aab6 remove unused test 2011-05-30 10:58:55 -03:00
Jonathan Leibiusky
00712f040d binary jedis watch command accepts several keys 2011-05-26 12:53:42 -03:00
Jonathan Leibiusky
607d31d96b On reconnection, select the correct db index 2011-05-15 22:17:21 -03:00
Jonathan Leibiusky
6e0be01f6f code cleanup 2011-05-15 21:56:46 -03:00
Dario Guzik
37587df2b6 MasterSlave consistency and old mode compatibility with shard names 2011-05-15 18:22:34 -03:00
Jonathan Leibiusky
6a78b32a84 Merge pull request #121 from ewhauser/master
Fix bug in getbit/setbit and add bit commands to ShardedJedisPipeline
2011-05-11 19:29:37 -07:00
Jonathan Leibiusky
b6df4739a0 add Tuple compareTo 2011-05-11 23:09:37 -03: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
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
b13c964500 jedis monitor should set client socket timeout to infinite 2011-05-02 01:54:52 -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
Eric Hauser
cf74935721 fix reversed boolean logic for setbit 2011-04-06 23:47:31 -04:00