Class XClaimParams

java.lang.Object
redis.clients.jedis.params.XClaimParams
All Implemented Interfaces:
IParams

public class XClaimParams extends Object implements IParams
  • Field Details

    • idleTime

      private Long idleTime
    • idleUnixTime

      private Long idleUnixTime
    • retryCount

      private Integer retryCount
    • force

      private boolean force
  • Constructor Details

    • XClaimParams

      public XClaimParams()
  • Method Details

    • xClaimParams

      public static XClaimParams xClaimParams()
    • idle

      public XClaimParams idle(long idleTime)
      Set the idle time (last time it was delivered) of the message.
      Parameters:
      idleTime -
      Returns:
      XClaimParams
    • time

      public XClaimParams time(long idleUnixTime)
      Set the idle time to a specific Unix time (in milliseconds).
      Parameters:
      idleUnixTime -
      Returns:
      XClaimParams
    • retryCount

      public XClaimParams retryCount(int count)
      Set the retry counter to the specified value.
      Parameters:
      count -
      Returns:
      XClaimParams
    • force

      public XClaimParams force()
      Creates the pending message entry in the PEL even if certain specified IDs are not already in the PEL assigned to a different client.
      Returns:
      XClaimParams
    • addParams

      public void addParams(CommandArguments args)
      Specified by:
      addParams in interface IParams