Class ReactiveStringCommands.SetCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveStringCommands.SetCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveStringCommands
SET
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionexpiring
(Expiration expiration) AppliesExpiration
.getValue()
set
(ByteBuffer key) Creates a newReactiveStringCommands.SetCommand
given a key.value
(ByteBuffer value) Applies the value.AppliesRedisStringCommands.SetOption
.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
set
Creates a newReactiveStringCommands.SetCommand
given a key.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveStringCommands.SetCommand
for a key.
-
value
Applies the value. Constructs a new command instance with all previously configured properties.- Parameters:
value
- must not be null.- Returns:
- a new
ReactiveStringCommands.SetCommand
with value applied.
-
expiring
AppliesExpiration
. Constructs a new command instance with all previously configured properties.- Parameters:
expiration
- must not be null.- Returns:
- a new
ReactiveStringCommands.SetCommand
withExpiration
applied.
-
withSetOption
AppliesRedisStringCommands.SetOption
. Constructs a new command instance with all previously configured properties.- Parameters:
option
- must not be null.- Returns:
- a new
ReactiveStringCommands.SetCommand
withRedisStringCommands.SetOption
applied.
-
getValue
- Returns:
-
getExpiration
- Returns:
-
getOption
- Returns:
-