Class RPopKt
-
- All Implemented Interfaces:
public final class RPopKt
-
-
Method Summary
Modifier and Type Method Description final static List<String>rpopString(RedisConnection $self, String key, Long count)final static List<String>rpopString(RedisConnectionPool $self, String key, Long count)final static UnitrpopString(RedisPipelineBuilder $self, String key, Long count, Function1<List<String>, Unit> onResult)final static List<ByteArray>rpopBytes(RedisConnection $self, String key, Long count)final static List<ByteArray>rpopBytes(RedisConnectionPool $self, String key, Long count)final static UnitrpopBytes(RedisPipelineBuilder $self, String key, Long count, Function1<List<ByteArray>, Unit> onResult)final static UnitrpopStreaming(RedisConnection $self, String key, Long count, ElementSink<StreamWithLength> sink)final static UnitrpopStreaming(RedisPipelineBuilder $self, String key, Long count, ElementSink<StreamWithLength> sink)-
-
Method Detail
-
rpopString
final static List<String> rpopString(RedisConnection $self, String key, Long count)
-
rpopString
final static List<String> rpopString(RedisConnectionPool $self, String key, Long count)
-
rpopString
final static Unit rpopString(RedisPipelineBuilder $self, String key, Long count, Function1<List<String>, Unit> onResult)
- Parameters:
count-optional, the maximum number of elements to pop. If not set, at most one element is popped
onResult-called with the popped elements (empty if the key does not exist)
-
rpopBytes
final static Unit rpopBytes(RedisPipelineBuilder $self, String key, Long count, Function1<List<ByteArray>, Unit> onResult)
-
rpopStreaming
final static Unit rpopStreaming(RedisConnection $self, String key, Long count, ElementSink<StreamWithLength> sink)
-
rpopStreaming
final static Unit rpopStreaming(RedisPipelineBuilder $self, String key, Long count, ElementSink<StreamWithLength> sink)
-
-
-
-