Class GetExArgs

java.lang.Object
io.quarkus.redis.datasource.value.GetExArgs
io.quarkus.redis.datasource.string.GetExArgs
All Implemented Interfaces:
RedisCommandExtraArguments

@Deprecated public class GetExArgs extends GetExArgs implements RedisCommandExtraArguments
Deprecated.
use GetExArgs instead
Argument list for the Redis GETEX command.
  • Constructor Details

    • GetExArgs

      public GetExArgs()
      Deprecated.
  • Method Details

    • ex

      public GetExArgs ex(long timeout)
      Deprecated.
      Set the specified expire time, in seconds.
      Overrides:
      ex in class GetExArgs
      Parameters:
      timeout - expire time in seconds.
      Returns:
      the current GetExArgs
    • ex

      public GetExArgs ex(Duration timeout)
      Deprecated.
      Sets the expiration.
      Overrides:
      ex in class GetExArgs
      Parameters:
      timeout - expire time in seconds.
      Returns:
      the current GetExArgs
    • exAt

      public GetExArgs exAt(long timestamp)
      Deprecated.
      Sets the expiration time
      Overrides:
      exAt in class GetExArgs
      Parameters:
      timestamp - the timestamp
      Returns:
      the current GetExArgs
    • exAt

      public GetExArgs exAt(Instant timestamp)
      Deprecated.
      Sets the expiration time
      Overrides:
      exAt in class GetExArgs
      Parameters:
      timestamp - the timestamp type: posix time in seconds.
      Returns:
      the current GetExArgs
    • px

      public GetExArgs px(long timeout)
      Deprecated.
      Set the specified expire time, in milliseconds.
      Overrides:
      px in class GetExArgs
      Parameters:
      timeout - expire time in milliseconds.
      Returns:
      the current GetExArgs
    • px

      public GetExArgs px(Duration timeout)
      Deprecated.
      Set the specified expire time, in milliseconds.
      Overrides:
      px in class GetExArgs
      Parameters:
      timeout - expire time in milliseconds.
      Returns:
      the current GetExArgs
    • pxAt

      public GetExArgs pxAt(long timestamp)
      Deprecated.
      Set the specified Unix time at which the key will expire, in milliseconds.
      Overrides:
      pxAt in class GetExArgs
      Parameters:
      timestamp - the timestamp
      Returns:
      the current GetExArgs
    • pxAt

      public GetExArgs pxAt(Instant timestamp)
      Deprecated.
      Set the specified Unix time at which the key will expire, in milliseconds.
      Overrides:
      pxAt in class GetExArgs
      Parameters:
      timestamp - the timestamp
      Returns:
      the current GetExArgs
    • persist

      public GetExArgs persist()
      Deprecated.
      Sets PERSIST
      Overrides:
      persist in class GetExArgs
      Returns:
      the current GetExArgs
    • toArgs

      public List<Object> toArgs()
      Deprecated.
      Specified by:
      toArgs in interface RedisCommandExtraArguments
      Overrides:
      toArgs in class GetExArgs
      Returns:
      the list of arguments.