V
- the type of elements held in this collectionpublic interface RBlockingDequeRx<V> extends RDequeRx<V>, RBlockingQueueRx<V>
Modifier and Type | Method and Description |
---|---|
io.reactivex.Flowable<V> |
pollFirst(long timeout,
TimeUnit unit)
Retrieves and removes value at the head of queue.
|
io.reactivex.Flowable<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.
|
io.reactivex.Flowable<V> |
pollLast(long timeout,
TimeUnit unit)
Retrieves and removes value at the tail of queue.
|
io.reactivex.Flowable<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.
|
io.reactivex.Flowable<Void> |
putFirst(V e)
Adds value to the head of queue.
|
io.reactivex.Flowable<Void> |
putLast(V e)
Adds value to the tail of queue.
|
io.reactivex.Flowable<V> |
takeFirst()
Retrieves and removes value at the head of queue.
|
io.reactivex.Flowable<V> |
takeFirstElements()
Retrieves and removes continues stream of elements from the head of this queue.
|
io.reactivex.Flowable<V> |
takeLast()
Retrieves and removes value at the tail of queue.
|
io.reactivex.Flowable<V> |
takeLastElements()
Retrieves and removes continues stream of elements from the tail of this queue.
|
addFirst, addLast, descendingIterator, getLast, offerFirst, offerLast, peekFirst, peekLast, pollFirst, pollLast, pop, push, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence
drainTo, drainTo, poll, pollFromAny, pollLastAndOfferFirstTo, put, take, takeElements, takeLastAndOfferFirstTo
offer, peek, poll, pollLastAndOfferFirstTo
add, addAll, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, size
clearExpire, expire, expireAt, expireAt, remainTimeToLive
io.reactivex.Flowable<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 availableio.reactivex.Flowable<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 availableio.reactivex.Flowable<Void> putFirst(V e)
e
- valueio.reactivex.Flowable<Void> putLast(V e)
e
- valueio.reactivex.Flowable<V> pollLast(long timeout, TimeUnit unit)
timeout
for an element become available.timeout
- 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 availableio.reactivex.Flowable<V> takeLast()
io.reactivex.Flowable<V> pollFirst(long timeout, TimeUnit unit)
timeout
for an element become available.timeout
- 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 availableio.reactivex.Flowable<V> takeFirst()
io.reactivex.Flowable<V> takeFirstElements()
io.reactivex.Flowable<V> takeLastElements()
Copyright © 2014–2019 The Redisson Project. All rights reserved.