Class XPendingArgs
- java.lang.Object
-
- io.quarkus.redis.datasource.stream.XPendingArgs
-
- All Implemented Interfaces:
RedisCommandExtraArguments
public class XPendingArgs extends Object implements RedisCommandExtraArguments
-
-
Constructor Summary
Constructors Constructor Description XPendingArgs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XPendingArgsconsumer(String owner)Sets the specific owner of the messageDurationidle()XPendingArgsidle(Duration idle)Filters pending stream entries by their idle-time.List<String>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
-
-
-
-
Method Detail
-
consumer
public XPendingArgs consumer(String owner)
Sets the specific owner of the message- Parameters:
owner- the name of the consumer- Returns:
- the current
XPendingArgs
-
idle
public XPendingArgs idle(Duration idle)
Filters pending stream entries by their idle-time.- Parameters:
idle- the duration- Returns:
- the current
XPendingArgs
-
idle
public Duration idle()
-
toArgs
public List<String> toArgs()
- Specified by:
toArgsin interfaceRedisCommandExtraArguments- Returns:
- the list of arguments, encoded as a list of String.
-
-