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, sizeaddListener, poll, pollLastAndOfferFirstTo, readAlladdAll, clear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArrayclearExpire, expire, expireAt, expireAt, remainTimeToLivecopy, delete, dump, getCodec, getIdleTime, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlinkaddFirstAsync, addFirstIfExistsAsync, addLastAsync, addLastIfExistsAsync, getLastAsync, offerFirstAsync, offerLastAsync, peekFirstAsync, peekLastAsync, pollFirstAsync, pollFirstAsync, pollLastAsync, pollLastAsync, popAsync, pushAsync, removeFirstAsync, removeFirstOccurrenceAsync, removeLastAsync, removeLastOccurrenceAsyncaddListenerAsync, offerAsync, peekAsync, pollAsync, pollAsync, pollLastAndOfferFirstToAsync, readAllAsyncaddAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsyncclearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsynccopyAsync, deleteAsync, dumpAsync, getIdleTimeAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsyncint 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.