V
- valuepublic interface RSetRx<V> extends RCollectionRx<V>, RSortableRx<Set<V>>
Modifier and Type | Method and Description |
---|---|
io.reactivex.Flowable<Long> |
diff(String... names)
Diff sets specified by name and write to current set.
|
RLockRx |
getFairLock(V value)
Returns
RLock instance associated with value |
RLockRx |
getLock(V value)
Returns lock instance associated with
value |
RPermitExpirableSemaphoreRx |
getPermitExpirableSemaphore(V value)
Returns
RPermitExpirableSemaphore instance associated with value |
RReadWriteLockRx |
getReadWriteLock(V value)
Returns
RReadWriteLock instance associated with value |
RSemaphoreRx |
getSemaphore(V value)
Returns
RSemaphore instance associated with value |
io.reactivex.Flowable<Long> |
intersection(String... names)
Intersection sets specified by name and write to current set.
|
io.reactivex.Flowable<V> |
iterator(int count)
Returns an iterator over elements in this set.
|
io.reactivex.Flowable<V> |
iterator(String pattern)
Returns iterator over elements in this set matches
pattern . |
io.reactivex.Flowable<V> |
iterator(String pattern,
int count)
Returns an iterator over elements in this set.
|
io.reactivex.Flowable<Boolean> |
move(String destination,
V member)
Move a member from this set to the given destination set in async mode.
|
io.reactivex.Flowable<V> |
random()
Returns random element from set
in async mode
|
io.reactivex.Flowable<Set<V>> |
readAll()
Read all elements at once
|
io.reactivex.Flowable<Set<V>> |
readDiff(String... names)
Diff sets specified by name with current set.
|
io.reactivex.Flowable<Set<V>> |
readIntersection(String... names)
Intersection sets specified by name with current set.
|
io.reactivex.Flowable<Set<V>> |
readUnion(String... names)
Union sets specified by name with current set.
|
io.reactivex.Flowable<V> |
removeRandom()
Removes and returns random element from set
in async mode
|
io.reactivex.Flowable<Set<V>> |
removeRandom(int amount)
Removes and returns random elements from set
in async mode
|
io.reactivex.Flowable<Long> |
union(String... names)
Union sets specified by name and write to current set.
|
add, addAll, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, size
clearExpire, expire, expireAt, expireAt, remainTimeToLive
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, touch, unlink
readSorted, readSorted, readSorted, readSorted, readSorted, readSorted, sortTo, sortTo, sortTo, sortTo, sortTo, sortTo
RPermitExpirableSemaphoreRx getPermitExpirableSemaphore(V value)
RPermitExpirableSemaphore
instance associated with value
value
- - set valueRSemaphoreRx getSemaphore(V value)
RSemaphore
instance associated with value
value
- - set valueRLockRx getFairLock(V value)
RLock
instance associated with value
value
- - set valueRReadWriteLockRx getReadWriteLock(V value)
RReadWriteLock
instance associated with value
value
- - set valueRLockRx getLock(V value)
value
value
- - set valueio.reactivex.Flowable<V> iterator(int count)
count
param.count
- - size of elements batchio.reactivex.Flowable<V> iterator(String pattern, int count)
count
param.
If pattern is not null then only elements match this pattern are loaded.pattern
- - search patterncount
- - size of elements batchio.reactivex.Flowable<V> iterator(String pattern)
pattern
.pattern
- - search patternio.reactivex.Flowable<Set<V>> removeRandom(int amount)
amount
- of random valuesio.reactivex.Flowable<V> removeRandom()
io.reactivex.Flowable<V> random()
io.reactivex.Flowable<Boolean> move(String destination, V member)
destination
- the destination setmember
- the member to moveio.reactivex.Flowable<Long> union(String... names)
names
- - name of setsio.reactivex.Flowable<Set<V>> readUnion(String... names)
names
- - name of setsio.reactivex.Flowable<Long> diff(String... names)
names
- - name of setsio.reactivex.Flowable<Set<V>> readDiff(String... names)
names
- - name of setsio.reactivex.Flowable<Long> intersection(String... names)
names
- - name of setsCopyright © 2014–2019 The Redisson Project. All rights reserved.