update missing commands in binary transaction

This commit is contained in:
Jonathan Leibiusky
2011-01-21 11:20:36 -03:00
parent 1076140bf5
commit f30094501c

View File

@@ -427,18 +427,24 @@ public class BinaryTransaction {
return client.getStatusCodeReply();
}
public String sort(final byte[] key, final SortingParams sortingParameters,
final byte[] dstkey) {
client.sort(key, sortingParameters, dstkey);
return client.getStatusCodeReply();
}
public String discard() {
client.discard();
inTransaction = false;
return client.getStatusCodeReply();
}
public String setbit(byte[] key, int offset, byte[] value) {
public String setbit(byte[] key, long offset, byte[] value) {
client.setbit(key, offset, value);
return client.getStatusCodeReply();
}
public String getbit(byte[] key, int offset) {
public String getbit(byte[] key, long offset) {
client.getbit(key, offset);
return client.getStatusCodeReply();
}