V
- value typepublic interface RSortedSet<V> extends SortedSet<V>, RObject
Modifier and Type | Method and Description |
---|---|
RFuture<Boolean> |
addAsync(V value) |
<KOut,VOut> |
mapReduce()
Returns
RMapReduce object associated with this object |
Collection<V> |
readAll() |
RFuture<Collection<V>> |
readAllAsync() |
RFuture<Boolean> |
removeAsync(Object value) |
boolean |
trySetComparator(Comparator<? super V> comparator)
Sets new comparator only if current set is empty
|
comparator, first, headSet, last, spliterator, subSet, tailSet
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
parallelStream, removeIf, stream
addListener, copy, delete, dump, getCodec, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlink
addListenerAsync, copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsync
<KOut,VOut> RCollectionMapReduce<V,KOut,VOut> mapReduce()
RMapReduce
object associated with this objectKOut
- output keyVOut
- output valueCollection<V> readAll()
RFuture<Collection<V>> readAllAsync()
boolean trySetComparator(Comparator<? super V> comparator)
comparator
- for valuestrue
if new comparator setted
false
otherwiseCopyright © 2014–2020 Redisson. All rights reserved.