Class LPosCommandKt
-
- All Implemented Interfaces:
public final class LPosCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestlposCommand(String key, StreamWithLength element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)-
-
Method Detail
-
lposCommand
final static RedisRequest lposCommand(String key, StreamWithLength element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)
- Parameters:
rank-optional, start with the n-th match (negative values search from the tail)
count-optional, the maximum number of matches to return, 0 returns all matches. If not set, at most one match is returned
maxLen-optional, compare at most this many elements
onResult-called with the indexes of the matching elements (empty if there is no match)
-
-
-
-