Class GetExParams

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

public class GetExParams extends Params implements IParams
  • Field Details

  • Constructor Details

    • GetExParams

      public GetExParams()
  • Method Details

    • getExParams

      public static GetExParams getExParams()
    • ex

      public GetExParams ex(long secondsToExpire)
      Set the specified expire time, in seconds.
      Returns:
      GetExParams
    • px

      public GetExParams px(long millisecondsToExpire)
      Set the specified expire time, in milliseconds.
      Returns:
      GetExParams
    • exAt

      public GetExParams exAt(long seconds)
      Set the specified Unix time at which the key will expire, in seconds.
      Parameters:
      seconds -
      Returns:
      GetExParams
    • pxAt

      public GetExParams pxAt(long milliseconds)
      Set the specified Unix time at which the key will expire, in milliseconds.
      Parameters:
      milliseconds -
      Returns:
      GetExParams
    • persist

      public GetExParams persist()
      Remove the time to live associated with the key.
      Returns:
      GetExParams
    • addParams

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