V
- the type of elements held in this collectionRCollectionReactive<V>
, RExpirableReactive
, RObjectReactive
, RSortableReactive<List<V>>
RedissonBlockingDequeReactive
, RedissonBlockingQueueReactive
, RedissonDequeReactive
, RedissonListReactive
, RedissonQueueReactive
public interface RListReactive<V> extends RCollectionReactive<V>, RSortableReactive<List<V>>
Modifier and Type | Method | Description |
---|---|---|
org.reactivestreams.Publisher<Integer> |
add(long index,
V element) |
|
org.reactivestreams.Publisher<Integer> |
addAfter(V elementToFind,
V element) |
Add
element after elementToFind |
org.reactivestreams.Publisher<Integer> |
addAll(long index,
Collection<? extends V> coll) |
|
org.reactivestreams.Publisher<Integer> |
addBefore(V elementToFind,
V element) |
Add
element before elementToFind |
org.reactivestreams.Publisher<V> |
descendingIterator() |
|
org.reactivestreams.Publisher<V> |
descendingIterator(int startIndex) |
|
org.reactivestreams.Publisher<Void> |
fastRemove(long index) |
Remove object by specified index
|
org.reactivestreams.Publisher<Void> |
fastSet(long index,
V element) |
|
org.reactivestreams.Publisher<List<V>> |
get(int... indexes) |
Loads elements by specified
indexes |
org.reactivestreams.Publisher<V> |
get(long index) |
|
org.reactivestreams.Publisher<Long> |
indexOf(Object o) |
|
org.reactivestreams.Publisher<V> |
iterator(int startIndex) |
|
org.reactivestreams.Publisher<Long> |
lastIndexOf(Object o) |
|
org.reactivestreams.Publisher<List<V>> |
readAll() |
Read all elements at once
|
org.reactivestreams.Publisher<V> |
remove(long index) |
|
org.reactivestreams.Publisher<V> |
set(long index,
V element) |
|
org.reactivestreams.Publisher<Void> |
trim(int fromIndex,
int toIndex) |
Trim list and remains elements only in specified range
fromIndex, inclusive, and toIndex, inclusive.
|
add, addAll, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, size
clearExpire, expire, expireAt, expireAt, remainTimeToLive
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, touch, unlink
readSorted, readSorted, readSorted, readSorted, readSorted, readSorted, sortTo, sortTo, sortTo, sortTo, sortTo, sortTo
org.reactivestreams.Publisher<List<V>> get(int... indexes)
indexes
indexes
- of elementsorg.reactivestreams.Publisher<Integer> addAfter(V elementToFind, V element)
element
after elementToFind
elementToFind
- - object to findelement
- - object to addorg.reactivestreams.Publisher<Integer> addBefore(V elementToFind, V element)
element
before elementToFind
elementToFind
- - object to findelement
- - object to addorg.reactivestreams.Publisher<V> descendingIterator()
org.reactivestreams.Publisher<V> descendingIterator(int startIndex)
org.reactivestreams.Publisher<V> iterator(int startIndex)
org.reactivestreams.Publisher<Integer> addAll(long index, Collection<? extends V> coll)
org.reactivestreams.Publisher<V> get(long index)
org.reactivestreams.Publisher<V> remove(long index)
org.reactivestreams.Publisher<List<V>> readAll()
org.reactivestreams.Publisher<Void> trim(int fromIndex, int toIndex)
fromIndex
- - from indextoIndex
- - to indexorg.reactivestreams.Publisher<Void> fastRemove(long index)
index
- - index of objectCopyright © 2014–2018 The Redisson Project. All rights reserved.