V - value typepublic interface RPriorityQueue<V> extends Queue<V>, RObject
| Modifier and Type | Method and Description |
|---|---|
Comparator<? super V> |
comparator() |
V |
pollLastAndOfferFirstTo(String dequeName) |
List<V> |
readAll() |
boolean |
trySetComparator(Comparator<? super V> comparator)
Sets new comparator only if current set is empty
|
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArraycopy, delete, getCodec, getName, isExists, migrate, move, rename, renamenx, touch, unlinkcopyAsync, deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync, unlinkAsyncComparator<? super V> comparator()
boolean trySetComparator(Comparator<? super V> comparator)
comparator - for valuestrue if new comparator setted
false otherwiseCopyright © 2014–2018 The Redisson Project. All rights reserved.