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 SummaryModifier 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.KeyCommandgetKeyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.CommandgetName
- 
Method Details- 
setCreates a newReactiveStringCommands.SetCommandgiven a key.- Parameters:
- key- must not be null.
- Returns:
- a new ReactiveStringCommands.SetCommandfor a key.
 
- 
valueApplies 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.
 
- 
expiringAppliesExpiration. Constructs a new command instance with all previously configured properties.- Parameters:
- expiration- must not be null.
- Returns:
- a new ReactiveStringCommands.SetCommandwithExpirationapplied.
 
- 
withSetOptionAppliesRedisStringCommands.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:
 
 
-