update transaction api with all the new commands

This commit is contained in:
Jonathan Leibiusky
2011-01-20 12:18:25 -03:00
parent 1857dd3413
commit 66fc6be729
7 changed files with 72 additions and 4 deletions

View File

@@ -2896,9 +2896,9 @@ public class BinaryJedis implements BinaryJedisCommands {
* @param timeout
* @return the element
*/
public String brpoplpush(byte[] source, byte[] destination, int timeout) {
public byte[] brpoplpush(byte[] source, byte[] destination, int timeout) {
client.brpoplpush(source, destination, timeout);
return client.getBulkReply();
return client.getBinaryBulkReply();
}
/**