V
- the type of elements held in this collectionpublic interface RListAsync<V> extends RCollectionAsync<V>, RSortableAsync<List<V>>, RandomAccess
Modifier and Type | Method and Description |
---|---|
RFuture<Integer> |
addAfterAsync(V elementToFind,
V element)
Add
element after elementToFind |
RFuture<Boolean> |
addAllAsync(int index,
Collection<? extends V> coll) |
RFuture<Boolean> |
addAsync(int index,
V element) |
RFuture<Integer> |
addBeforeAsync(V elementToFind,
V element)
Add
element before elementToFind |
RFuture<Void> |
fastRemoveAsync(int index) |
RFuture<Void> |
fastSetAsync(int index,
V element)
Set
element at index . |
RFuture<List<V>> |
getAsync(int... indexes)
Loads elements by specified
indexes |
RFuture<V> |
getAsync(int index) |
RFuture<Integer> |
indexOfAsync(Object o) |
RFuture<Integer> |
lastIndexOfAsync(Object o) |
RFuture<List<V>> |
readAllAsync()
Read all elements at once
|
RFuture<V> |
removeAsync(int index) |
RFuture<Boolean> |
removeAsync(Object o,
int count) |
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, sizeInMemoryAsync, touchAsync, unlinkAsync
readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, 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
, inclusive, and toIndex
, inclusive.fromIndex
- - from indextoIndex
- - to indexCopyright © 2014–2019 The Redisson Project. All rights reserved.