Class ArLastItemsCommandKt
-
- All Implemented Interfaces:
public final class ArLastItemsCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestarlastitemsCommand(String key, Long count, Boolean rev, ElementSink<StreamWithLength> sink)-
-
Method Detail
-
arlastitemsCommand
final static RedisRequest arlastitemsCommand(String key, Long count, Boolean rev, ElementSink<StreamWithLength> sink)
- Parameters:
count-the maximum number of values to return
rev-if true, the most recently inserted value comes first
sink-called once per returned value, with null for an element which was deleted after it was inserted. The stream is read directly from the connection and is only valid until the callback returns, unread parts are skipped.
-
-
-
-