|
|
@ -151,6 +151,11 @@ public class RedissonBlockingDeque<V> extends RedissonDeque<V> implements RBlock
|
|
|
|
return blockingQueue.pollLastFromAny(duration, count, queueNames);
|
|
|
|
return blockingQueue.pollLastFromAny(duration, count, queueNames);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public Entry<String, V> pollLastFromAnyWithName(Duration duration, String... queueNames) throws InterruptedException {
|
|
|
|
|
|
|
|
return blockingQueue.pollLastFromAnyWithName(duration, queueNames);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public RFuture<Map<String, List<V>>> pollFirstFromAnyAsync(Duration duration, int count, String... queueNames) {
|
|
|
|
public RFuture<Map<String, List<V>>> pollFirstFromAnyAsync(Duration duration, int count, String... queueNames) {
|
|
|
|
return blockingQueue.pollFirstFromAnyAsync(duration, count, queueNames);
|
|
|
|
return blockingQueue.pollFirstFromAnyAsync(duration, count, queueNames);
|
|
|
@ -161,6 +166,11 @@ public class RedissonBlockingDeque<V> extends RedissonDeque<V> implements RBlock
|
|
|
|
return blockingQueue.pollLastFromAnyAsync(duration, count, queueNames);
|
|
|
|
return blockingQueue.pollLastFromAnyAsync(duration, count, queueNames);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public RFuture<Entry<String, V>> pollLastFromAnyWithNameAsync(Duration duration, String... queueNames) {
|
|
|
|
|
|
|
|
return blockingQueue.pollLastFromAnyWithNameAsync(duration, queueNames);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public V takeLastAndOfferFirstTo(String queueName) throws InterruptedException {
|
|
|
|
public V takeLastAndOfferFirstTo(String queueName) throws InterruptedException {
|
|
|
|
return commandExecutor.getInterrupted(takeLastAndOfferFirstToAsync(queueName));
|
|
|
|
return commandExecutor.getInterrupted(takeLastAndOfferFirstToAsync(queueName));
|
|
|
|