Class SetArgs
java.lang.Object
io.quarkus.redis.datasource.value.SetArgs
io.quarkus.redis.datasource.string.SetArgs
- All Implemented Interfaces:
RedisCommandExtraArguments
Deprecated.
Argument list for the Redis SET command.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionex
(long timeout) Deprecated.Set the specified expire time, in seconds.Deprecated.Sets the expiration.exAt
(long timestamp) Deprecated.Sets the expiration timeDeprecated.Sets the expiration timeget()
Deprecated.Return the old string stored at key, or nil if key did not exist.keepttl()
Deprecated.Set the value and retain the existing TTL.nx()
Deprecated.Only set the key if it does not already exist.px
(long timeout) Deprecated.Set the specified expire time, in milliseconds.Deprecated.Set the specified expire time, in milliseconds.pxAt
(long timestamp) Deprecated.Set the specified Unix time at which the key will expire, in milliseconds.Deprecated.Set the specified Unix time at which the key will expire, in milliseconds.toArgs()
Deprecated.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
-
Constructor Details
-
SetArgs
public SetArgs()Deprecated.
-
-
Method Details
-
ex
Deprecated.Set the specified expire time, in seconds. -
ex
Deprecated.Sets the expiration. -
exAt
Deprecated.Sets the expiration time -
exAt
Deprecated.Sets the expiration time -
px
Deprecated.Set the specified expire time, in milliseconds. -
px
Deprecated.Set the specified expire time, in milliseconds. -
pxAt
Deprecated.Set the specified Unix time at which the key will expire, in milliseconds. -
pxAt
Deprecated.Set the specified Unix time at which the key will expire, in milliseconds. -
nx
Deprecated.Only set the key if it does not already exist. -
keepttl
Deprecated.Set the value and retain the existing TTL. -
xx
Deprecated.Only set the key if it already exists. -
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. -
toArgs
Deprecated.- Specified by:
toArgs
in interfaceRedisCommandExtraArguments
- Overrides:
toArgs
in classSetArgs
- Returns:
- the list of arguments.
-
SetArgs
instead.