V
- valuepublic interface RSet<V> extends Set<V>, RExpirable, RSetAsync<V>
Set
Modifier and Type | Method and Description |
---|---|
boolean |
move(String destination,
V member)
Move a member from this set to the given destination set in.
|
Set<V> |
readAll()
Read all elements at once
|
Set<V> |
readUnion(String... names)
Union sets specified by name with current set.
|
V |
removeRandom()
Removes and returns random element from set
|
int |
union(String... names)
Union sets specified by name and write to current set.
|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
clearExpire, expire, expireAt, expireAt, remainTimeToLive
delete, getName, isExists, migrate, move, rename, renamenx
moveAsync, readAllAsync, readUnionAsync, removeRandomAsync, unionAsync
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync
V removeRandom()
boolean move(String destination, V member)
destination
- the destination setmember
- the member to moveint union(String... names)
names
- Copyright © 2014–2016. All rights reserved.