Uses of Class
io.lettuce.core.SetArgs
| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient 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 SetArgsSetArgs.Builder. ex(long timeout)Creates newSetArgsand enable EX.static SetArgsSetArgs.Builder. ex(Duration timeout)Creates newSetArgsand enable EX.SetArgsSetArgs. ex(long timeout)Set the specified expire time, in seconds.SetArgsSetArgs. ex(Duration timeout)Set the specified expire time, in seconds.static SetArgsSetArgs.Builder. exAt(long timestamp)Creates newSetArgsand enable EXAT.static SetArgsSetArgs.Builder. exAt(Instant timestamp)Creates newSetArgsand enable EXAT.static SetArgsSetArgs.Builder. exAt(Date timestamp)Creates newSetArgsand enable EXAT.SetArgsSetArgs. exAt(long timestamp)Set the specified expire at time using a posixtimestamp.SetArgsSetArgs. exAt(Instant timestamp)Set the specified expire at time using a posixtimestamp.SetArgsSetArgs. exAt(Date timestamp)Set the specified expire at time using a posixtimestamp.static SetArgsSetArgs.Builder. keepttl()Creates newSetArgsand enable KEEPTTL.SetArgsSetArgs. keepttl()Set the value and retain the existing TTL.static SetArgsSetArgs.Builder. nx()Creates newSetArgsand enable NX.SetArgsSetArgs. nx()Only set the key if it does not already exist.static SetArgsSetArgs.Builder. px(long timeout)Creates newSetArgsand enable PX.static SetArgsSetArgs.Builder. px(Duration timeout)Creates newSetArgsand enable PX.SetArgsSetArgs. px(long timeout)Set the specified expire time, in milliseconds.SetArgsSetArgs. px(Duration timeout)Set the specified expire time, in milliseconds.static SetArgsSetArgs.Builder. pxAt(long timestamp)Creates newSetArgsand enable PXAT.static SetArgsSetArgs.Builder. pxAt(Instant timestamp)Creates newSetArgsand enable PXAT.static SetArgsSetArgs.Builder. pxAt(Date timestamp)Creates newSetArgsand enable PXAT.SetArgsSetArgs. pxAt(long timestamp)Set the specified expire at time using a posixtimestamp.SetArgsSetArgs. pxAt(Instant timestamp)Set the specified expire at time using a posixtimestamp.SetArgsSetArgs. pxAt(Date timestamp)Set the specified expire at time using a posixtimestamp.static SetArgsSetArgs.Builder. xx()Creates newSetArgsand enable XX.SetArgsSetArgs. 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 StringRedisStringCommands. set(K key, V value, SetArgs setArgs)Set the string value of a key.VRedisStringCommands. 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.