V
- the type of elements held in this collectionpublic interface RBlockingQueueAsync<V> extends RQueueAsync<V>
BlockingQueue
backed by RedisModifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<Integer> |
drainToAsync(Collection<? super V> c) |
io.netty.util.concurrent.Future<Integer> |
drainToAsync(Collection<? super V> c,
int maxElements) |
io.netty.util.concurrent.Future<V> |
pollAsync(long timeout,
TimeUnit unit) |
io.netty.util.concurrent.Future<V> |
pollFromAnyAsync(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.
|
io.netty.util.concurrent.Future<V> |
pollLastAndOfferFirstToAsync(String queueName,
long timeout,
TimeUnit unit) |
io.netty.util.concurrent.Future<Boolean> |
putAsync(V e) |
io.netty.util.concurrent.Future<V> |
takeAsync() |
offerAsync, peekAsync, pollAsync, pollLastAndOfferFirstToAsync, pollLastAndOfferFirstToAsync
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync
io.netty.util.concurrent.Future<V> pollFromAnyAsync(long timeout, TimeUnit unit, String... queueNames)
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 availableInterruptedException
- if interrupted while waitingio.netty.util.concurrent.Future<Integer> drainToAsync(Collection<? super V> c, int maxElements)
io.netty.util.concurrent.Future<Integer> drainToAsync(Collection<? super V> c)
io.netty.util.concurrent.Future<V> pollLastAndOfferFirstToAsync(String queueName, long timeout, TimeUnit unit)
io.netty.util.concurrent.Future<V> takeAsync()
Copyright © 2014–2016. All rights reserved.