V
- the type of elements held in this collectionpublic interface RDeque<V> extends Deque<V>, RQueue<V>, RDequeAsync<V>
Deque
Modifier and Type | Method and Description |
---|---|
int |
addFirstIfExists(V... elements)
Adds element at the head of existing deque.
|
int |
addLastIfExists(V... elements)
Adds element at the tail of existing deque.
|
List<V> |
pollFirst(int limit)
Retrieves and removes the head elements of this queue.
|
List<V> |
pollLast(int limit)
Retrieves and removes the tail elements of this queue.
|
add, addFirst, addLast, contains, descendingIterator, element, getFirst, getLast, iterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, size
addListener, poll, pollLastAndOfferFirstTo, readAll
addAll, clear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
clearExpire, expire, expireAt, expireAt, remainTimeToLive
copy, delete, dump, getCodec, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlink
addFirstAsync, addFirstIfExistsAsync, addLastAsync, addLastIfExistsAsync, getLastAsync, offerFirstAsync, offerLastAsync, peekFirstAsync, peekLastAsync, pollFirstAsync, pollFirstAsync, pollLastAsync, pollLastAsync, popAsync, pushAsync, removeFirstAsync, removeFirstOccurrenceAsync, removeLastAsync, removeLastOccurrenceAsync
addListenerAsync, offerAsync, peekAsync, pollAsync, pollAsync, pollLastAndOfferFirstToAsync, readAllAsync
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsync
int addFirstIfExists(V... elements)
elements
- - elements to addint addLastIfExists(V... elements)
elements
- - elements to addList<V> pollLast(int limit)
limit
param.Copyright © 2014–2020 Redisson. All rights reserved.