Class SetArgs
- java.lang.Object
-
- io.quarkus.redis.datasource.value.SetArgs
-
- io.quarkus.redis.datasource.string.SetArgs
-
- All Implemented Interfaces:
RedisCommandExtraArguments
@Deprecated public class SetArgs extends SetArgs implements RedisCommandExtraArguments
Deprecated.UseSetArgs
instead.Argument list for the Redis SET command.
-
-
Constructor Summary
Constructors Constructor Description SetArgs()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SetArgs
ex(long timeout)
Deprecated.Set the specified expire time, in seconds.SetArgs
ex(Duration timeout)
Deprecated.Sets the expiration.SetArgs
exAt(long timestamp)
Deprecated.Sets the expiration timeSetArgs
exAt(Instant timestamp)
Deprecated.Sets the expiration timeSetArgs
get()
Deprecated.Return the old string stored at key, or nil if key did not exist.SetArgs
keepttl()
Deprecated.Set the value and retain the existing TTL.SetArgs
nx()
Deprecated.Only set the key if it does not already exist.SetArgs
px(long timeout)
Deprecated.Set the specified expire time, in milliseconds.SetArgs
px(Duration timeout)
Deprecated.Set the specified expire time, in milliseconds.SetArgs
pxAt(long timestamp)
Deprecated.Set the specified Unix time at which the key will expire, in milliseconds.SetArgs
pxAt(Instant timestamp)
Deprecated.Set the specified Unix time at which the key will expire, in milliseconds.List<String>
toArgs()
Deprecated.SetArgs
xx()
Deprecated.Only set the key if it already exists.-
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
-
ex
public SetArgs ex(long timeout)
Deprecated.Set the specified expire time, in seconds.
-
exAt
public SetArgs exAt(long timestamp)
Deprecated.Sets the expiration time
-
px
public SetArgs px(long timeout)
Deprecated.Set the specified expire time, in milliseconds.
-
pxAt
public SetArgs pxAt(long timestamp)
Deprecated.Set the specified Unix time at which the key will expire, in milliseconds.
-
pxAt
public SetArgs pxAt(Instant timestamp)
Deprecated.Set the specified Unix time at which the key will expire, in milliseconds.
-
nx
public SetArgs nx()
Deprecated.Only set the key if it does not already exist.
-
keepttl
public SetArgs keepttl()
Deprecated.Set the value and retain the existing TTL.
-
xx
public SetArgs xx()
Deprecated.Only set the key if it already exists.
-
get
public SetArgs get()
Deprecated.Return the old string stored at key, or nil if key did not exist. An error is returned and SET aborted if the value stored at key is not a string.
-
-