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 XPendingArgs
consumer(String owner)
Sets the specific owner of the messageDuration
idle()
XPendingArgs
idle(Duration idle)
Filters pending stream entries by their idle-time.List<Object>
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<Object> toArgs()
- Specified by:
toArgs
in interfaceRedisCommandExtraArguments
- Returns:
- the list of arguments.
-
-