Class ReactiveListCommands.BRPopLPushCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveListCommands.BRPopLPushCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveListCommands
public static class ReactiveListCommands.BRPopLPushCommand
extends ReactiveRedisConnection.KeyCommand
BRPOPLPUSH command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionblockingFor(Duration timeout) Applies atimeout.from(ByteBuffer sourceKey) Creates a newReactiveListCommands.BRPopLPushCommandgiven a sourceKey.to(ByteBuffer destinationKey) Applies the destinationKey.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
-
from
Creates a newReactiveListCommands.BRPopLPushCommandgiven a sourceKey.- Parameters:
sourceKey- must not be null.- Returns:
- a new
ReactiveListCommands.BRPopLPushCommandfor 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.BRPopLPushCommandwith value applied.
-
blockingFor
Applies atimeout. Constructs a new command instance with all previously configured properties.- Parameters:
timeout- must not be null.- Returns:
- a new
ReactiveListCommands.BRPopLPushCommandwithtimeoutapplied.
-
getDestination
- Returns:
- can be null.
-
getTimeout
- Returns:
- never null.
-