Class LPopKt
-
- All Implemented Interfaces:
public final class LPopKt
-
-
Method Summary
-
-
Method Detail
-
lpopString
final static String lpopString(ValkeyConnection $self, String key)
-
lpopString
final static List<String> lpopString(ValkeyConnection $self, String key, Long count)
-
lpopString
final static String lpopString(ValkeyConnectionPool $self, String key)
-
lpopString
final static List<String> lpopString(ValkeyConnectionPool $self, String key, Long count)
-
lpopString
final static Unit lpopString(ValkeyPipelineBuilder $self, String key, Function1<String, Unit> onResult)
- Parameters:
onResult-called with the first element, or null if the key does not exist
-
lpopString
final static Unit lpopString(ValkeyPipelineBuilder $self, String key, Long count, Function1<List<String>, Unit> onResult)
- Parameters:
onResult-called with up to count popped elements (empty if the key does not exist)
-
lpopBytes
final static ByteArray lpopBytes(ValkeyConnection $self, String key)
-
lpopBytes
final static ByteArray lpopBytes(ValkeyConnectionPool $self, String key)
-
lpopBytes
final static List<ByteArray> lpopBytes(ValkeyConnectionPool $self, String key, Long count)
-
lpopBytes
final static Unit lpopBytes(ValkeyPipelineBuilder $self, String key, Function1<ByteArray, Unit> onResult)
-
lpopBytes
final static Unit lpopBytes(ValkeyPipelineBuilder $self, String key, Long count, Function1<List<ByteArray>, Unit> onResult)
-
lpopStreaming
final static Unit lpopStreaming(ValkeyConnection $self, String key, Function1<StreamWithLength, Unit> onResponse)
-
lpopStreaming
final static Unit lpopStreaming(ValkeyConnection $self, String key, Long count, ElementSink<StreamWithLength> sink)
-
lpopStreaming
final static Unit lpopStreaming(ValkeyPipelineBuilder $self, String key, Function1<StreamWithLength, Unit> onResponse)
-
lpopStreaming
final static Unit lpopStreaming(ValkeyPipelineBuilder $self, String key, Long count, ElementSink<StreamWithLength> sink)
-
-
-
-