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