V - the type of elements held in this collectionpublic interface RBlockingDequeAsync<V> extends RDequeAsync<V>, RBlockingQueueAsync<V>
BlockingDeque backed by Redis| Modifier 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, removeLastOccurrenceAsyncdrainToAsync, drainToAsync, pollAsync, pollFromAnyAsync, pollLastAndOfferFirstToAsync, putAsync, takeAsync, takeLastAndOfferFirstToAsyncofferAsync, peekAsync, pollAsync, pollLastAndOfferFirstToAsync, readAllAsyncaddAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsyncclearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsynccopyAsync, deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync, unlinkAsyncRFuture<V> pollFirstFromAnyAsync(long timeout, TimeUnit unit, String... queueNames)
queueNames - - names of queuetimeout - how long to wait before giving up, in units of
unitunit - 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
unitunit - 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.