V
- the type of elements held in this collectionRandomAccess
, RCollectionAsync<V>
, RExpirableAsync
, RObjectAsync
, RSortableAsync<List<V>>
RList<V>
RedissonBlockingDeque
, RedissonBlockingQueue
, RedissonBoundedBlockingQueue
, RedissonDeque
, RedissonList
, RedissonListMultimapValues
, RedissonPriorityBlockingDeque
, RedissonPriorityBlockingQueue
, RedissonPriorityDeque
, RedissonPriorityQueue
, RedissonQueue
, RedissonSubList
public interface RListAsync<V> extends RCollectionAsync<V>, RSortableAsync<List<V>>, RandomAccess
Modifier and Type | Method | Description |
---|---|---|
RFuture<Integer> |
addAfterAsync(V elementToFind,
V element) |
Add
element after elementToFind |
RFuture<Boolean> |
addAllAsync(int index,
Collection<? extends V> coll) |
|
RFuture<Integer> |
addBeforeAsync(V elementToFind,
V element) |
Add
element before elementToFind |
RFuture<Void> |
fastRemoveAsync(long index) |
|
RFuture<Void> |
fastSetAsync(int index,
V element) |
Set
element at index . |
RFuture<V> |
getAsync(int index) |
|
RFuture<List<V>> |
getAsync(int... indexes) |
Loads elements by specified
indexes |
RFuture<Integer> |
indexOfAsync(Object o) |
|
RFuture<Integer> |
lastIndexOfAsync(Object o) |
|
RFuture<List<V>> |
readAllAsync() |
Read all elements at once
|
RFuture<V> |
removeAsync(long index) |
|
RFuture<V> |
setAsync(int index,
V element) |
|
RFuture<Void> |
trimAsync(int fromIndex,
int toIndex) |
Trim list and remains elements only in specified range
fromIndex, inclusive, and toIndex, inclusive.
|
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, touchAsync, unlinkAsync
readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync
RFuture<List<V>> getAsync(int... indexes)
indexes
indexes
- of elementsRFuture<Integer> addAfterAsync(V elementToFind, V element)
element
after elementToFind
elementToFind
- - object to findelement
- - object to addRFuture<Integer> addBeforeAsync(V elementToFind, V element)
element
before elementToFind
elementToFind
- - object to findelement
- - object to addRFuture<Boolean> addAllAsync(int index, Collection<? extends V> coll)
RFuture<Void> fastSetAsync(int index, V element)
index
- - index of objectelement
- - objectRFuture<Void> trimAsync(int fromIndex, int toIndex)
fromIndex
- - from indextoIndex
- - to indexCopyright © 2014–2018 The Redisson Project. All rights reserved.