Class LRangeCommandKt
-
- All Implemented Interfaces:
public final class LRangeCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestlrangeCommand(String key, Long start, Long stop, ElementSink<StreamWithLength> sink)-
-
Method Detail
-
lrangeCommand
final static RedisRequest lrangeCommand(String key, Long start, Long stop, ElementSink<StreamWithLength> sink)
- Parameters:
start-zero-based, negative values count from the tail
stop-inclusive, negative values count from the tail (-1 is the last element)
sink-called once per element in the range (none if the key does not exist). The stream is read directly from the connection and is only valid until the callback returns, unread parts are skipped.
-
-
-
-