V
- the type of elements held in this collectionBlockingDeque<V>
, BlockingQueue<V>
, Collection<V>
, Deque<V>
, Iterable<V>
, Queue<V>
, RBlockingDequeAsync<V>
, RBlockingQueue<V>
, RBlockingQueueAsync<V>
, RCollectionAsync<V>
, RDeque<V>
, RDequeAsync<V>
, RExpirable
, RExpirableAsync
, RObject
, RObjectAsync
, RQueue<V>
, RQueueAsync<V>
RPriorityBlockingDeque<V>
RedissonBlockingDeque
, RedissonPriorityBlockingDeque
public interface RBlockingDeque<V> extends BlockingDeque<V>, RBlockingQueue<V>, RDeque<V>, RBlockingDequeAsync<V>
BlockingDeque
backed by RedisModifier and Type | Method | Description |
---|---|---|
V |
pollFirstFromAny(long timeout,
TimeUnit unit,
String... queueNames) |
Retrieves and removes first available head element of any queue,
waiting up to the specified wait time if necessary for an element to become available
in any of defined queues including queue own.
|
V |
pollLastFromAny(long timeout,
TimeUnit unit,
String... queueNames) |
Retrieves and removes first available tail element of any queue,
waiting up to the specified wait time if necessary for an element to become available
in any of defined queues including queue own.
|
add, addFirst, addLast, contains, element, iterator, offer, offer, offerFirst, offerFirst, offerLast, offerLast, peek, poll, poll, pollFirst, pollLast, push, put, putFirst, putLast, remove, remove, removeFirstOccurrence, removeLastOccurrence, size, take, takeFirst, takeLast
drainTo, drainTo, remainingCapacity
clear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
addAll, descendingIterator, getFirst, getLast, peekFirst, peekLast, pollFirst, pollLast, pop, removeFirst, removeLast
pollFirstAsync, pollFirstFromAnyAsync, pollLastAsync, pollLastFromAnyAsync, putFirstAsync, putLastAsync, takeFirstAsync, takeLastAsync
pollFromAny, pollLastAndOfferFirstTo, takeLastAndOfferFirstTo
drainToAsync, drainToAsync, pollAsync, pollFromAnyAsync, pollLastAndOfferFirstToAsync, putAsync, takeAsync, takeLastAndOfferFirstToAsync
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsync
addFirstAsync, addLastAsync, getLastAsync, offerFirstAsync, offerLastAsync, peekFirstAsync, peekLastAsync, pollFirstAsync, pollLastAsync, popAsync, pushAsync, removeFirstAsync, removeFirstOccurrenceAsync, removeLastAsync, removeLastOccurrenceAsync
clearExpire, expire, expireAt, expireAt, remainTimeToLive
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, touch, unlink
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, touchAsync, unlinkAsync
pollLastAndOfferFirstTo, readAll
offerAsync, peekAsync, pollAsync, pollLastAndOfferFirstToAsync, readAllAsync
V pollFirstFromAny(long timeout, TimeUnit unit, String... queueNames) throws InterruptedException
queueNames
- - names of queuetimeout
- how long to wait before giving up, in units of
unit
unit
- a TimeUnit
determining how to interpret the
timeout
parameternull
if the
specified waiting time elapses before an element is availableInterruptedException
- if interrupted while waitingV pollLastFromAny(long timeout, TimeUnit unit, String... queueNames) throws InterruptedException
queueNames
- - names of queuetimeout
- how long to wait before giving up, in units of
unit
unit
- a TimeUnit
determining how to interpret the
timeout
parameternull
if the
specified waiting time elapses before an element is availableInterruptedException
- if interrupted while waitingCopyright © 2014–2018 The Redisson Project. All rights reserved.