Uses of Enum Class
org.springframework.data.redis.connection.RedisStringCommands.SetOption
Packages that use RedisStringCommands.SetOption
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
Connection package for Jedis library.
Connection package for Lettuce Redis client.
-
Uses of RedisStringCommands.SetOption in org.springframework.data.redis.connection
Methods in org.springframework.data.redis.connection that return RedisStringCommands.SetOptionModifier and TypeMethodDescriptionRedisStringCommands.SetOption.ifAbsent()
NX
RedisStringCommands.SetOption.ifPresent()
XX
RedisStringCommands.SetOption.upsert()
Do not set any additional command argument.Returns the enum constant of this class with the specified name.static RedisStringCommands.SetOption[]
RedisStringCommands.SetOption.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.data.redis.connection that return types with arguments of type RedisStringCommands.SetOptionMethods in org.springframework.data.redis.connection with parameters of type RedisStringCommands.SetOptionModifier and TypeMethodDescriptiondefault Boolean
DefaultedRedisConnection.set
(byte[] key, byte[] value, Expiration expiration, RedisStringCommands.SetOption option) Deprecated.DefaultStringRedisConnection.set
(byte[] key, byte[] value, Expiration expiration, RedisStringCommands.SetOption option) DefaultStringRedisConnection.set
(String key, String value, Expiration expiration, RedisStringCommands.SetOption option) default reactor.core.publisher.Mono<Boolean>
ReactiveStringCommands.set
(ByteBuffer key, ByteBuffer value, Expiration expiration, RedisStringCommands.SetOption option) Set value for key with expiration and options.RedisStringCommands.set
(byte[] key, byte[] value, Expiration expiration, RedisStringCommands.SetOption option) Setvalue
forkey
applying timeouts fromexpiration
if set and inserting/updating values depending onoption
.StringRedisConnection.set
(String key, String value, Expiration expiration, RedisStringCommands.SetOption option) Setvalue
forkey
applying timeouts fromexpiration
if set and inserting/updating values depending onoption
.ReactiveStringCommands.SetCommand.withSetOption
(RedisStringCommands.SetOption option) AppliesRedisStringCommands.SetOption
. -
Uses of RedisStringCommands.SetOption in org.springframework.data.redis.connection.jedis
Methods in org.springframework.data.redis.connection.jedis with parameters of type RedisStringCommands.SetOptionModifier and TypeMethodDescriptionstatic redis.clients.jedis.params.SetParams
JedisConverters.toSetCommandNxXxArgument
(RedisStringCommands.SetOption option) Converts a givenRedisStringCommands.SetOption
to the accordingSET
command argument.
SET_IF_PRESENT
XX
SET_IF_ABSENT
NX
UPSERT
byte[0]
static redis.clients.jedis.params.SetParams
JedisConverters.toSetCommandNxXxArgument
(RedisStringCommands.SetOption option, redis.clients.jedis.params.SetParams params) Converts a givenRedisStringCommands.SetOption
to the accordingSET
command argument.
SET_IF_PRESENT
XX
SET_IF_ABSENT
NX
UPSERT
byte[0]
-
Uses of RedisStringCommands.SetOption in org.springframework.data.redis.connection.lettuce
Methods in org.springframework.data.redis.connection.lettuce with parameters of type RedisStringCommands.SetOptionModifier and TypeMethodDescriptionstatic io.lettuce.core.SetArgs
LettuceConverters.toSetArgs
(Expiration expiration, RedisStringCommands.SetOption option)
RedisCommandsProvider.stringCommands()
}.