Class RPopKt
-
- All Implemented Interfaces:
public final class RPopKt
-
-
Method Summary
Modifier and Type Method Description final static List<String>rpopString(ValkeyConnection $self, String key, Long count)final static List<String>rpopString(ValkeyConnectionPool $self, String key, Long count)final static UnitrpopString(ValkeyPipelineBuilder $self, String key, Long count, Function1<List<String>, Unit> onResult)final static List<ByteArray>rpopBytes(ValkeyConnection $self, String key, Long count)final static List<ByteArray>rpopBytes(ValkeyConnectionPool $self, String key, Long count)final static UnitrpopBytes(ValkeyPipelineBuilder $self, String key, Long count, Function1<List<ByteArray>, Unit> onResult)final static UnitrpopStreaming(ValkeyConnection $self, String key, Long count, ElementSink<StreamWithLength> sink)final static UnitrpopStreaming(ValkeyPipelineBuilder $self, String key, Long count, ElementSink<StreamWithLength> sink)-
-
Method Detail
-
rpopString
final static List<String> rpopString(ValkeyConnection $self, String key, Long count)
-
rpopString
final static List<String> rpopString(ValkeyConnectionPool $self, String key, Long count)
-
rpopString
final static Unit rpopString(ValkeyPipelineBuilder $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 List<ByteArray> rpopBytes(ValkeyConnectionPool $self, String key, Long count)
-
rpopBytes
final static Unit rpopBytes(ValkeyPipelineBuilder $self, String key, Long count, Function1<List<ByteArray>, Unit> onResult)
-
rpopStreaming
final static Unit rpopStreaming(ValkeyConnection $self, String key, Long count, ElementSink<StreamWithLength> sink)
-
rpopStreaming
final static Unit rpopStreaming(ValkeyPipelineBuilder $self, String key, Long count, ElementSink<StreamWithLength> sink)
-
-
-
-