public static class ReactiveListCommands.BPopCommand extends Object implements ReactiveRedisConnection.Command
| Modifier and Type | Method and Description |
|---|---|
ReactiveListCommands.BPopCommand |
blockingFor(Duration timeout)
Applies a
timeout. |
ReactiveListCommands.BPopCommand |
from(List<ByteBuffer> keys)
Applies the value.
|
ReactiveListCommands.Direction |
getDirection() |
ByteBuffer |
getKey() |
List<ByteBuffer> |
getKeys() |
Duration |
getTimeout() |
static ReactiveListCommands.BPopCommand |
left()
Creates a new
ReactiveListCommands.BPopCommand for right push (BLPOP). |
static ReactiveListCommands.BPopCommand |
right()
Creates a new
ReactiveListCommands.BPopCommand for right push (BRPOP). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveListCommands.BPopCommand right()
ReactiveListCommands.BPopCommand for right push (BRPOP).ReactiveListCommands.BPopCommand for right push (BRPOP).public static ReactiveListCommands.BPopCommand left()
ReactiveListCommands.BPopCommand for right push (BLPOP).ReactiveListCommands.BPopCommand for right push (BLPOP).public ReactiveListCommands.BPopCommand from(List<ByteBuffer> keys)
keys - must not be null.ReactiveListCommands.BPopCommand with value applied.public ReactiveListCommands.BPopCommand blockingFor(Duration timeout)
timeout. Constructs a new command instance with all previously configured properties.timeout - must not be null.ReactiveListCommands.BPopCommand with timeout applied.public ByteBuffer getKey()
getKey in interface ReactiveRedisConnection.Commandpublic List<ByteBuffer> getKeys()
public Duration getTimeout()
public ReactiveListCommands.Direction getDirection()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.