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.SetCommandgiven a key.value(ByteBuffer value) Applies the value.AppliesRedisStringCommands.SetOption.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
set
Creates a newReactiveStringCommands.SetCommandgiven a key.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveStringCommands.SetCommandfor 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.SetCommandwith value applied.
-
expiring
AppliesExpiration. Constructs a new command instance with all previously configured properties.- Parameters:
expiration- must not be null.- Returns:
- a new
ReactiveStringCommands.SetCommandwithExpirationapplied.
-
withSetOption
AppliesRedisStringCommands.SetOption. Constructs a new command instance with all previously configured properties.- Parameters:
option- must not be null.- Returns:
- a new
ReactiveStringCommands.SetCommandwithRedisStringCommands.SetOptionapplied.
-
getValue
- Returns:
-
getExpiration
- Returns:
-
getOption
- Returns:
-