V
- the type of elements held in this collectionRBlockingQueueAsync<V>
, RCollectionAsync<V>
, RDequeAsync<V>
, RExpirableAsync
, RObjectAsync
, RQueueAsync<V>
RBlockingDeque<V>
, RPriorityBlockingDeque<V>
RedissonBlockingDeque
, RedissonPriorityBlockingDeque
public interface RBlockingDequeAsync<V> extends RDequeAsync<V>, RBlockingQueueAsync<V>
BlockingDeque
backed by RedisModifier and Type | Method | 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() |
drainToAsync, drainToAsync, pollAsync, pollFromAnyAsync, pollLastAndOfferFirstToAsync, putAsync, takeAsync, takeLastAndOfferFirstToAsync
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsync
addFirstAsync, addLastAsync, getLastAsync, offerFirstAsync, offerLastAsync, peekFirstAsync, peekLastAsync, pollFirstAsync, pollLastAsync, popAsync, pushAsync, removeFirstAsync, removeFirstOccurrenceAsync, removeLastAsync, removeLastOccurrenceAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, touchAsync, unlinkAsync
offerAsync, peekAsync, pollAsync, pollLastAndOfferFirstToAsync, readAllAsync
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.