Class ReactiveListCommands.LSetCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveListCommands.LSetCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveListCommands
LSET
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionelementAt
(long index) Creates a newReactiveListCommands.LSetCommand
given an index.forKey
(ByteBuffer key) Applies the key.getIndex()
getValue()
to
(ByteBuffer value) Applies the value.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
-
elementAt
Creates a newReactiveListCommands.LSetCommand
given an index.- Parameters:
index
-- Returns:
- a new
ReactiveListCommands.LSetCommand
for index.
-
to
Applies the value. Constructs a new command instance with all previously configured properties.- Parameters:
value
- must not be null.- Returns:
- a new
ReactiveListCommands.LSetCommand
with value applied.
-
forKey
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveListCommands.LSetCommand
with value applied.
-
getValue
- Returns:
- can be null.
-
getIndex
- Returns:
- never null.
-