V
- the type of elements held in this collectionRBlockingQueueReactive<V>
, RCollectionReactive<V>
, RDequeReactive<V>
, RExpirableReactive
, RObjectReactive
, RQueueReactive<V>
RedissonBlockingDequeReactive
public interface RBlockingDequeReactive<V> extends RDequeReactive<V>, RBlockingQueueReactive<V>
BlockingDeque
backed by RedisModifier and Type | Method | Description |
---|---|---|
org.reactivestreams.Publisher<V> |
pollFirst(long timeout,
TimeUnit unit) |
|
org.reactivestreams.Publisher<V> |
pollFirstFromAny(long timeout,
TimeUnit unit,
String... queueNames) |
Retrieves and removes first available head element of any queue in reactive mode,
waiting up to the specified wait time if necessary for an element to become available
in any of defined queues including queue own.
|
org.reactivestreams.Publisher<V> |
pollLast(long timeout,
TimeUnit unit) |
|
org.reactivestreams.Publisher<V> |
pollLastFromAny(long timeout,
TimeUnit unit,
String... queueNames) |
Retrieves and removes first available tail element of any queue in reactive mode,
waiting up to the specified wait time if necessary for an element to become available
in any of defined queues including queue own.
|
org.reactivestreams.Publisher<Void> |
putFirst(V e) |
|
org.reactivestreams.Publisher<Void> |
putLast(V e) |
|
org.reactivestreams.Publisher<V> |
takeFirst() |
|
org.reactivestreams.Publisher<V> |
takeLast() |
drainTo, drainTo, poll, pollFromAny, pollLastAndOfferFirstTo, put, take
add, addAll, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, size
addFirst, addLast, descendingIterator, getLast, offerFirst, offerLast, peekFirst, peekLast, pollFirst, pollLast, pop, push, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence
clearExpire, expire, expireAt, expireAt, remainTimeToLive
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, touch, unlink
offer, peek, poll, pollLastAndOfferFirstTo
org.reactivestreams.Publisher<V> pollFirstFromAny(long timeout, TimeUnit unit, String... queueNames)
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 availableorg.reactivestreams.Publisher<V> pollLastFromAny(long timeout, TimeUnit unit, String... queueNames)
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 availableorg.reactivestreams.Publisher<V> takeLast()
org.reactivestreams.Publisher<V> takeFirst()
Copyright © 2014–2018 The Redisson Project. All rights reserved.