Class ReactiveListCommands.BPopCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveListCommands.BPopCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveListCommands
public static class ReactiveListCommands.BPopCommand
extends Object
implements ReactiveRedisConnection.Command
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionblockingFor
(Duration timeout) Applies atimeout
.from
(List<ByteBuffer> keys) Applies the value.getKey()
getKeys()
left()
Creates a newReactiveListCommands.BPopCommand
for right push (BLPOP).right()
Creates a newReactiveListCommands.BPopCommand
for right push (BRPOP).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
-
right
Creates a newReactiveListCommands.BPopCommand
for right push (BRPOP).- Returns:
- a new
ReactiveListCommands.BPopCommand
for right push (BRPOP).
-
left
Creates a newReactiveListCommands.BPopCommand
for right push (BLPOP).- Returns:
- a new
ReactiveListCommands.BPopCommand
for right push (BLPOP).
-
from
Applies the value. Constructs a new command instance with all previously configured properties.- Parameters:
keys
- must not be null.- Returns:
- a new
ReactiveListCommands.BPopCommand
with 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.BPopCommand
withtimeout
applied.
-
getKey
- Specified by:
getKey
in interfaceReactiveRedisConnection.Command
- Returns:
- the key related to this command.
-
getKeys
- Returns:
-
getTimeout
- Returns:
-
getDirection
- Returns:
-