Refactored to support object multi bulk reply

This commit is contained in:
Jonathan Leibiusky
2010-07-07 22:55:35 -03:00
parent 81cc2cec8e
commit 20acb5bc60
7 changed files with 114 additions and 81 deletions

View File

@@ -1,5 +1,6 @@
package redis.clients.jedis;
import java.util.List;
import java.util.Map;
public class Transaction {
@@ -418,7 +419,8 @@ public class Transaction {
return client.getStatusCodeReply();
}
public void exec() throws JedisException {
public List<Object> exec() throws JedisException {
client.exec();
return client.getObjectMultiBulkReply();
}
}