V
- valuepublic interface RSetAsync<V> extends RCollectionAsync<V>
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<Boolean> |
moveAsync(String destination,
V member)
Move a member from this set to the given destination set in async mode.
|
io.netty.util.concurrent.Future<Set<V>> |
readAllAsync()
Read all elements at once
|
io.netty.util.concurrent.Future<Set<V>> |
readUnionAsync(String... keys)
Union sets specified by name with current set.
|
io.netty.util.concurrent.Future<V> |
removeRandomAsync()
Removes and returns random element from set
in async mode
|
io.netty.util.concurrent.Future<Integer> |
unionAsync(String... keys)
Union sets specified by name and write to current set.
|
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync
io.netty.util.concurrent.Future<V> removeRandomAsync()
io.netty.util.concurrent.Future<Boolean> moveAsync(String destination, V member)
destination
- the destination setmember
- the member to moveio.netty.util.concurrent.Future<Set<V>> readAllAsync()
io.netty.util.concurrent.Future<Integer> unionAsync(String... keys)
names
- Copyright © 2014–2016. All rights reserved.