Class ReactiveListCommands.RPopLPushCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveListCommands.RPopLPushCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveListCommands
public static class ReactiveListCommands.RPopLPushCommand
extends ReactiveRedisConnection.KeyCommand
RPOPLPUSH
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(ByteBuffer sourceKey) Creates a newReactiveListCommands.RPopLPushCommand
given a sourceKey.to
(ByteBuffer destinationKey) Applies the destinationKey.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
-
from
Creates a newReactiveListCommands.RPopLPushCommand
given a sourceKey.- Parameters:
sourceKey
- must not be null.- Returns:
- a new
ReactiveListCommands.RPopLPushCommand
for a sourceKey.
-
to
Applies the destinationKey. Constructs a new command instance with all previously configured properties.- Parameters:
destinationKey
- must not be null.- Returns:
- a new
ReactiveListCommands.BPopCommand
with value applied.
-
getDestination
- Returns:
- can be null.
-