Package | Description |
---|---|
org.springframework.data.redis.connection |
Connection package providing low-level abstractions for interacting with
the various Redis 'drivers'/libraries.
|
org.springframework.data.redis.connection.jedis |
Connection package for Jedis library.
|
org.springframework.data.redis.connection.lettuce |
Connection package for Lettuce Redis client.
|
Modifier and Type | Method and Description |
---|---|
static RedisStringCommands.SetOption |
RedisStringCommands.SetOption.ifAbsent()
NX |
static RedisStringCommands.SetOption |
RedisStringCommands.SetOption.ifPresent()
XX |
static RedisStringCommands.SetOption |
RedisStringCommands.SetOption.upsert()
Do not set any additional command argument.
|
static RedisStringCommands.SetOption |
RedisStringCommands.SetOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisStringCommands.SetOption[] |
RedisStringCommands.SetOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Optional<RedisStringCommands.SetOption> |
ReactiveStringCommands.SetCommand.getOption() |
Modifier and Type | Method and Description |
---|---|
void |
RedisStringCommands.set(byte[] key,
byte[] value,
Expiration expiration,
RedisStringCommands.SetOption option)
Set
value for key applying timeouts from expiration if set and inserting/updating values
depending on option . |
void |
DefaultStringRedisConnection.set(byte[] key,
byte[] 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.
|
void |
StringRedisConnection.set(String key,
String value,
Expiration expiration,
RedisStringCommands.SetOption option)
Set
value for key applying timeouts from expiration if set and inserting/updating values
depending on option . |
void |
DefaultStringRedisConnection.set(String key,
String value,
Expiration expiration,
RedisStringCommands.SetOption option) |
ReactiveStringCommands.SetCommand |
ReactiveStringCommands.SetCommand.withSetOption(RedisStringCommands.SetOption option)
Applies
RedisStringCommands.SetOption . |
Modifier and Type | Method and Description |
---|---|
void |
JedisConnection.set(byte[] key,
byte[] value,
Expiration expiration,
RedisStringCommands.SetOption option) |
void |
JedisClusterConnection.set(byte[] key,
byte[] value,
Expiration expiration,
RedisStringCommands.SetOption option) |
static byte[] |
JedisConverters.toSetCommandNxXxArgument(RedisStringCommands.SetOption option)
Converts a given
RedisStringCommands.SetOption to the according SET command argument. |
Modifier and Type | Method and Description |
---|---|
void |
LettuceConnection.set(byte[] key,
byte[] value,
Expiration expiration,
RedisStringCommands.SetOption option) |
static com.lambdaworks.redis.SetArgs |
LettuceConverters.toSetArgs(Expiration expiration,
RedisStringCommands.SetOption option)
|
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.