public interface RKeysAsync
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<Long> |
countAsync()
Returns the number of keys in the currently-selected database in async mode
|
io.netty.util.concurrent.Future<Long> |
deleteAsync(String... keys)
Delete multiple objects by name
|
io.netty.util.concurrent.Future<Long> |
deleteByPatternAsync(String pattern)
Delete multiple objects by a key pattern.
|
io.netty.util.concurrent.Future<Collection<String>> |
findKeysByPatternAsync(String pattern)
Find keys by key search pattern in async mode
Supported glob-style patterns:
h?
|
io.netty.util.concurrent.Future<Void> |
flushallAsync()
Delete all keys of all existing databases
|
io.netty.util.concurrent.Future<Void> |
flushdbAsync()
Delete all keys of currently selected database
|
io.netty.util.concurrent.Future<Integer> |
getSlotAsync(String key)
Get hash slot identifier for key in async mode.
|
io.netty.util.concurrent.Future<String> |
randomKeyAsync()
Get random key in async mode
|
io.netty.util.concurrent.Future<Integer> getSlotAsync(String key)
key
- io.netty.util.concurrent.Future<String> randomKeyAsync()
io.netty.util.concurrent.Future<Collection<String>> findKeysByPatternAsync(String pattern)
pattern
- io.netty.util.concurrent.Future<Long> deleteByPatternAsync(String pattern)
pattern
- io.netty.util.concurrent.Future<Long> deleteAsync(String... keys)
keys
- - object namesio.netty.util.concurrent.Future<Long> countAsync()
io.netty.util.concurrent.Future<Void> flushdbAsync()
io.netty.util.concurrent.Future<Void> flushallAsync()
Copyright © 2014–2016. All rights reserved.