Class KeysKt
-
- All Implemented Interfaces:
public final class KeysKt
-
-
Method Summary
Modifier and Type Method Description final static List<String>keys(RedisConnection $self, String pattern)final static List<String>keys(RedisConnectionPool $self, String pattern)final static Unitkeys(RedisPipelineBuilder $self, String pattern, Function1<List<String>, Unit> onResult)Blocks the server while iterating over all keys, prefer scan in production. final static UnitkeysStreaming(RedisConnection $self, String pattern, ElementSink<String> sink)final static UnitkeysStreaming(RedisPipelineBuilder $self, String pattern, ElementSink<String> sink)-
-
Method Detail
-
keys
final static List<String> keys(RedisConnection $self, String pattern)
-
keys
final static List<String> keys(RedisConnectionPool $self, String pattern)
-
keys
final static Unit keys(RedisPipelineBuilder $self, String pattern, Function1<List<String>, Unit> onResult)
Blocks the server while iterating over all keys, prefer scan in production.
- Parameters:
pattern-glob-style pattern the key names must match
-
keysStreaming
final static Unit keysStreaming(RedisConnection $self, String pattern, ElementSink<String> sink)
-
keysStreaming
final static Unit keysStreaming(RedisPipelineBuilder $self, String pattern, ElementSink<String> sink)
-
-
-
-