V
- the type of elements held in this collectionpublic interface RListAsync<V> extends RCollectionAsync<V>, RandomAccess
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<Integer> |
addAfterAsync(V elementToFind,
V element)
Add
element after elementToFind |
io.netty.util.concurrent.Future<Boolean> |
addAllAsync(int index,
Collection<? extends V> coll) |
io.netty.util.concurrent.Future<Integer> |
addBeforeAsync(V elementToFind,
V element)
Add
element before elementToFind |
io.netty.util.concurrent.Future<Void> |
fastRemoveAsync(int index) |
io.netty.util.concurrent.Future<Void> |
fastSetAsync(int index,
V element)
Set
element at index . |
io.netty.util.concurrent.Future<V> |
getAsync(int index) |
io.netty.util.concurrent.Future<Integer> |
indexOfAsync(Object o) |
io.netty.util.concurrent.Future<Integer> |
lastIndexOfAsync(Object o) |
io.netty.util.concurrent.Future<List<V>> |
readAllAsync()
Read all elements at once
|
io.netty.util.concurrent.Future<V> |
setAsync(int index,
V element) |
io.netty.util.concurrent.Future<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
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync
io.netty.util.concurrent.Future<Integer> addAfterAsync(V elementToFind, V element)
element
after elementToFind
elementToFind
- element
- io.netty.util.concurrent.Future<Integer> addBeforeAsync(V elementToFind, V element)
element
before elementToFind
elementToFind
- element
- io.netty.util.concurrent.Future<Boolean> addAllAsync(int index, Collection<? extends V> coll)
io.netty.util.concurrent.Future<Void> fastSetAsync(int index, V element)
index
- element
- io.netty.util.concurrent.Future<V> getAsync(int index)
io.netty.util.concurrent.Future<List<V>> readAllAsync()
io.netty.util.concurrent.Future<Void> trimAsync(int fromIndex, int toIndex)
fromIndex
- toIndex
- io.netty.util.concurrent.Future<Void> fastRemoveAsync(int index)
Copyright © 2014–2016. All rights reserved.