Class ZMpopArgs
java.lang.Object
io.quarkus.redis.datasource.sortedset.ZMpopArgs
- All Implemented Interfaces:
RedisCommandExtraArguments
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount
(int count) The optionalCOUNT
can be used to specify the number of elements to pop, and is set to 1 by default.max()
TheMAX
modifier causes elements with the highest scores to be popped.min()
When theMIN
modifier is used, the elements popped are those with the lowest scores from the first non-empty sorted set.toArgs()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.quarkus.redis.datasource.RedisCommandExtraArguments
toArgs
-
Constructor Details
-
ZMpopArgs
public ZMpopArgs()
-
-
Method Details
-
min
When theMIN
modifier is used, the elements popped are those with the lowest scores from the first non-empty sorted set.- Returns:
- the current
ZmpopArgs
-
max
TheMAX
modifier causes elements with the highest scores to be popped.- Returns:
- the current
ZmpopArgs
-
count
The optionalCOUNT
can be used to specify the number of elements to pop, and is set to 1 by default.- Parameters:
count
- the count value- Returns:
- the current
ZmpopArgs
-
toArgs
- Specified by:
toArgs
in interfaceRedisCommandExtraArguments
- Returns:
- the list of arguments.
-