|
|
@ -105,11 +105,13 @@ public class RedissonSubList<V> extends RedissonExpirable implements RList<V> {
|
|
|
|
return list.toArray();
|
|
|
|
return list.toArray();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private List<V> readAll() {
|
|
|
|
@Override
|
|
|
|
return (List<V>) get(readAllAsync());
|
|
|
|
public List<V> readAll() {
|
|
|
|
|
|
|
|
return get(readAllAsync());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private Future<Collection<V>> readAllAsync() {
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public Future<List<V>> readAllAsync() {
|
|
|
|
return commandExecutor.readAsync(getName(), codec, LRANGE, getName(), fromIndex, toIndex.get()-1);
|
|
|
|
return commandExecutor.readAsync(getName(), codec, LRANGE, getName(), fromIndex, toIndex.get()-1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|