V
- the type of elements held in this collectionpublic interface RBlockingDequeAsync<V> extends RDequeAsync<V>, RBlockingQueueAsync<V>
BlockingDeque
Modifier and Type | Method and Description |
---|---|
RFuture<V> |
moveAsync(Duration timeout,
DequeMoveArgs args) |
RFuture<V> |
pollFirstAsync(long timeout,
TimeUnit unit)
Retrieves and removes value at the head of queue.
|
RFuture<V> |
pollFirstFromAnyAsync(long timeout,
TimeUnit unit,
String... queueNames)
Retrieves and removes first available head element of any queue in async mode,
waiting up to the specified wait time if necessary for an element to become available
in any of defined queues including queue own.
|
RFuture<V> |
pollLastAsync(long timeout,
TimeUnit unit)
Retrieves and removes value at the tail of queue.
|
RFuture<V> |
pollLastFromAnyAsync(long timeout,
TimeUnit unit,
String... queueNames)
Retrieves and removes first available tail element of any queue in async mode,
waiting up to the specified wait time if necessary for an element to become available
in any of defined queues including queue own.
|
RFuture<Void> |
putFirstAsync(V e)
Adds value to the head of queue.
|
RFuture<Void> |
putLastAsync(V e)
Adds value to the tail of queue.
|
RFuture<V> |
takeFirstAsync()
Retrieves and removes value at the head of queue.
|
RFuture<V> |
takeLastAsync()
Retrieves and removes value at the tail of queue.
|
addFirstAsync, addFirstIfExistsAsync, addLastAsync, addLastIfExistsAsync, getLastAsync, moveAsync, offerFirstAsync, offerLastAsync, peekFirstAsync, peekLastAsync, pollFirstAsync, pollFirstAsync, pollLastAsync, pollLastAsync, popAsync, pushAsync, removeFirstAsync, removeFirstOccurrenceAsync, removeLastAsync, removeLastOccurrenceAsync
drainToAsync, drainToAsync, pollAsync, pollFromAnyAsync, pollLastAndOfferFirstToAsync, putAsync, takeAsync, takeLastAndOfferFirstToAsync
addListenerAsync, offerAsync, peekAsync, pollAsync, pollAsync, pollLastAndOfferFirstToAsync, readAllAsync
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsync
clearExpireAsync, expireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
copyAsync, deleteAsync, dumpAsync, getIdleTimeAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsync
RFuture<V> pollFirstFromAnyAsync(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 availableRFuture<V> pollLastFromAnyAsync(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 availableRFuture<Void> putFirstAsync(V e)
e
- valueRFuture<Void> putLastAsync(V e)
e
- valueRFuture<V> pollLastAsync(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 availableRFuture<V> takeLastAsync()
RFuture<V> pollFirstAsync(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 availableRFuture<V> takeFirstAsync()
RFuture<V> moveAsync(Duration timeout, DequeMoveArgs args)
Copyright © 2014–2021 Redisson. All rights reserved.