V
- the type of elements held in this collectionpublic interface RBlockingDequeAsync<V> extends RDequeAsync<V>, RBlockingQueueAsync<V>
BlockingDeque
backed by RedisModifier and Type | Method and Description |
---|---|
RFuture<V> |
pollFirstAsync(long timeout,
TimeUnit unit) |
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) |
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) |
RFuture<Void> |
putLastAsync(V e) |
RFuture<V> |
takeFirstAsync() |
RFuture<V> |
takeLastAsync() |
addFirstAsync, addLastAsync, getLastAsync, offerFirstAsync, offerLastAsync, peekFirstAsync, peekLastAsync, pollFirstAsync, pollLastAsync, popAsync, pushAsync, removeFirstAsync, removeFirstOccurrenceAsync, removeLastAsync, removeLastOccurrenceAsync
drainToAsync, drainToAsync, pollAsync, pollFromAnyAsync, pollLastAndOfferFirstToAsync, putAsync, takeAsync, takeLastAndOfferFirstToAsync
offerAsync, peekAsync, pollAsync, pollLastAndOfferFirstToAsync, readAllAsync
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
copyAsync, deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, 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 availableCopyright © 2014–2018 The Redisson Project. All rights reserved.