Class ZRankCommandKt
-
- All Implemented Interfaces:
public final class ZRankCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestzrankCommand(String key, StreamWithLength member, Function1<Long, Unit> onResult)final static RedisRequestzrankWithScoreCommand(String key, StreamWithLength member, Function1<Pair<Long, Double>, Unit> onResult)-
-
Method Detail
-
zrankCommand
final static RedisRequest zrankCommand(String key, StreamWithLength member, Function1<Long, Unit> onResult)
- Parameters:
onResult-called with the rank of member (0 is the lowest score), or null if it is not a member
-
zrankWithScoreCommand
final static RedisRequest zrankWithScoreCommand(String key, StreamWithLength member, Function1<Pair<Long, Double>, Unit> onResult)
- Parameters:
onResult-called with the rank of member (0 is the lowest score) and its score, or null if it is not a member
-
-
-
-