Uses of Class
io.lettuce.core.SetArgs
-
Packages that use SetArgs Package Description io.lettuce.core The Redis client package containingRedisClient
for Redis Standalone and Redis Sentinel operations.io.lettuce.core.api.async Standalone Redis API for asynchronous executed commands.io.lettuce.core.api.reactive Standalone Redis API for reactive command execution.io.lettuce.core.api.sync Standalone Redis API for synchronous executed commands.io.lettuce.core.cluster.api.async Redis Cluster API for asynchronous executed commands.io.lettuce.core.cluster.api.sync Redis Cluster API for synchronous executed commands. -
-
Uses of SetArgs in io.lettuce.core
Methods in io.lettuce.core that return SetArgs Modifier and Type Method Description static SetArgs
SetArgs.Builder. ex(long timeout)
Creates newSetArgs
and enable EX.static SetArgs
SetArgs.Builder. ex(Duration timeout)
Creates newSetArgs
and enable EX.SetArgs
SetArgs. ex(long timeout)
Set the specified expire time, in seconds.SetArgs
SetArgs. ex(Duration timeout)
Set the specified expire time, in seconds.static SetArgs
SetArgs.Builder. exAt(long timestamp)
Creates newSetArgs
and enable EXAT.static SetArgs
SetArgs.Builder. exAt(Instant timestamp)
Creates newSetArgs
and enable EXAT.static SetArgs
SetArgs.Builder. exAt(Date timestamp)
Creates newSetArgs
and enable EXAT.SetArgs
SetArgs. exAt(long timestamp)
Set the specified expire at time using a posixtimestamp
.SetArgs
SetArgs. exAt(Instant timestamp)
Set the specified expire at time using a posixtimestamp
.SetArgs
SetArgs. exAt(Date timestamp)
Set the specified expire at time using a posixtimestamp
.static SetArgs
SetArgs.Builder. keepttl()
Creates newSetArgs
and enable KEEPTTL.SetArgs
SetArgs. keepttl()
Set the value and retain the existing TTL.static SetArgs
SetArgs.Builder. nx()
Creates newSetArgs
and enable NX.SetArgs
SetArgs. nx()
Only set the key if it does not already exist.static SetArgs
SetArgs.Builder. px(long timeout)
Creates newSetArgs
and enable PX.static SetArgs
SetArgs.Builder. px(Duration timeout)
Creates newSetArgs
and enable PX.SetArgs
SetArgs. px(long timeout)
Set the specified expire time, in milliseconds.SetArgs
SetArgs. px(Duration timeout)
Set the specified expire time, in milliseconds.static SetArgs
SetArgs.Builder. pxAt(long timestamp)
Creates newSetArgs
and enable PXAT.static SetArgs
SetArgs.Builder. pxAt(Instant timestamp)
Creates newSetArgs
and enable PXAT.static SetArgs
SetArgs.Builder. pxAt(Date timestamp)
Creates newSetArgs
and enable PXAT.SetArgs
SetArgs. pxAt(long timestamp)
Set the specified expire at time using a posixtimestamp
.SetArgs
SetArgs. pxAt(Instant timestamp)
Set the specified expire at time using a posixtimestamp
.SetArgs
SetArgs. pxAt(Date timestamp)
Set the specified expire at time using a posixtimestamp
.static SetArgs
SetArgs.Builder. xx()
Creates newSetArgs
and enable XX.SetArgs
SetArgs. xx()
Only set the key if it already exists.Methods in io.lettuce.core with parameters of type SetArgs Modifier and Type Method Description RedisFuture<String>
AbstractRedisAsyncCommands. set(K key, V value, SetArgs setArgs)
Mono<String>
AbstractRedisReactiveCommands. set(K key, V value, SetArgs setArgs)
RedisFuture<V>
AbstractRedisAsyncCommands. setGet(K key, V value, SetArgs setArgs)
Mono<V>
AbstractRedisReactiveCommands. setGet(K key, V value, SetArgs setArgs)
-
Uses of SetArgs in io.lettuce.core.api.async
Methods in io.lettuce.core.api.async with parameters of type SetArgs Modifier and Type Method Description RedisFuture<String>
RedisStringAsyncCommands. set(K key, V value, SetArgs setArgs)
Set the string value of a key.RedisFuture<V>
RedisStringAsyncCommands. setGet(K key, V value, SetArgs setArgs)
Set the string value of a key and return its old value. -
Uses of SetArgs in io.lettuce.core.api.reactive
Methods in io.lettuce.core.api.reactive with parameters of type SetArgs Modifier and Type Method Description Mono<String>
RedisStringReactiveCommands. set(K key, V value, SetArgs setArgs)
Set the string value of a key.Mono<V>
RedisStringReactiveCommands. setGet(K key, V value, SetArgs setArgs)
Set the string value of a key and return its old value. -
Uses of SetArgs in io.lettuce.core.api.sync
Methods in io.lettuce.core.api.sync with parameters of type SetArgs Modifier and Type Method Description String
RedisStringCommands. set(K key, V value, SetArgs setArgs)
Set the string value of a key.V
RedisStringCommands. setGet(K key, V value, SetArgs setArgs)
Set the string value of a key and return its old value. -
Uses of SetArgs in io.lettuce.core.cluster.api.async
Methods in io.lettuce.core.cluster.api.async with parameters of type SetArgs Modifier and Type Method Description AsyncExecutions<String>
NodeSelectionStringAsyncCommands. set(K key, V value, SetArgs setArgs)
Set the string value of a key.AsyncExecutions<V>
NodeSelectionStringAsyncCommands. setGet(K key, V value, SetArgs setArgs)
Set the string value of a key and return its old value. -
Uses of SetArgs in io.lettuce.core.cluster.api.sync
Methods in io.lettuce.core.cluster.api.sync with parameters of type SetArgs Modifier and Type Method Description Executions<String>
NodeSelectionStringCommands. set(K key, V value, SetArgs setArgs)
Set the string value of a key.Executions<V>
NodeSelectionStringCommands. setGet(K key, V value, SetArgs setArgs)
Set the string value of a key and return its old value.
-