add select to transaction
This commit is contained in:
@@ -563,4 +563,9 @@ public class BinaryTransaction extends Queable {
|
||||
client.brpoplpush(source, destination, timeout);
|
||||
return getResponse(BuilderFactory.BYTE_ARRAY);
|
||||
}
|
||||
|
||||
public Response<String> select(final int index) {
|
||||
client.select(index);
|
||||
return getResponse(BuilderFactory.STRING);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -576,5 +576,4 @@ public class Transaction extends BinaryTransaction {
|
||||
client.publish(channel, message);
|
||||
return getResponse(BuilderFactory.LONG);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user