list command receive now long parameters to be consistent with return type
This commit is contained in:
@@ -207,22 +207,22 @@ public class BinaryTransaction extends Queable {
|
||||
return getResponse(BuilderFactory.LONG);
|
||||
}
|
||||
|
||||
public Response<List<String>> lrange(byte[] key, int start, int end) {
|
||||
public Response<List<String>> lrange(byte[] key, long start, int end) {
|
||||
client.lrange(key, start, end);
|
||||
return getResponse(BuilderFactory.STRING_LIST);
|
||||
}
|
||||
|
||||
public Response<Long> lrem(byte[] key, int count, byte[] value) {
|
||||
public Response<Long> lrem(byte[] key, long count, byte[] value) {
|
||||
client.lrem(key, count, value);
|
||||
return getResponse(BuilderFactory.LONG);
|
||||
}
|
||||
|
||||
public Response<String> lset(byte[] key, int index, byte[] value) {
|
||||
public Response<String> lset(byte[] key, long index, byte[] value) {
|
||||
client.lset(key, index, value);
|
||||
return getResponse(BuilderFactory.STRING);
|
||||
}
|
||||
|
||||
public Response<String> ltrim(byte[] key, int start, int end) {
|
||||
public Response<String> ltrim(byte[] key, long start, long end) {
|
||||
client.ltrim(key, start, end);
|
||||
return getResponse(BuilderFactory.STRING);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user