Class XPendingArgs

java.lang.Object
io.quarkus.redis.datasource.stream.XPendingArgs
All Implemented Interfaces:
RedisCommandExtraArguments

public class XPendingArgs extends Object implements RedisCommandExtraArguments
  • Constructor Details

    • XPendingArgs

      public XPendingArgs()
  • Method Details

    • 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 interface RedisCommandExtraArguments
      Returns:
      the list of arguments.