Package org.redisson.api
Interface RSortedSet<V>
-
- Type Parameters:
V
- value type
- All Superinterfaces:
<V>
,<V>
,<V>
,<V>
- All Known Subinterfaces:
RLexSortedSet
- All Known Implementing Classes:
RedissonLexSortedSet
,RedissonSortedSet
public interface RSortedSet<V> extends <V>, RObject
- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description >
addAsync(V value)
<KOut,VOut>
RCollectionMapReduce<V,KOut,VOut>mapReduce()
ReturnsRMapReduce
object associated with this object<V>
readAll()
<V>>
readAllAsync()
>
value)
boolean
<? super V> comparator)
Sets new comparator only if current set is empty-
Methods inherited from interface org.redisson.api.RObject
addListener, copy, delete, dump, getCodec, getIdleTime, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlink
-
Methods inherited from interface org.redisson.api.RObjectAsync
addListenerAsync, copyAsync, deleteAsync, dumpAsync, getIdleTimeAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsync
-
-
-
-
Method Detail
-
mapReduce
<KOut,VOut> RCollectionMapReduce<V,KOut,VOut> mapReduce()
ReturnsRMapReduce
object associated with this object- Type Parameters:
KOut
- output keyVOut
- output value- Returns:
- MapReduce instance
-
readAll
<V> readAll()
-
readAllAsync
<V>> readAllAsync()
-
addAsync
> addAsync(V value)
-
removeAsync
> removeAsync( value)
-
trySetComparator
boolean trySetComparator(<? super V> comparator)
Sets new comparator only if current set is empty- Parameters:
comparator
- for values- Returns:
true
if new comparator settedfalse
otherwise
-
-