public static class ReactiveListCommands.BRPopLPushCommand extends ReactiveRedisConnection.KeyCommand
BRPOPLPUSH
command parameters.Modifier and Type | Method and Description |
---|---|
ReactiveListCommands.BRPopLPushCommand |
blockingFor(Duration timeout)
Applies a
timeout . |
static ReactiveListCommands.BRPopLPushCommand |
from(ByteBuffer sourceKey)
Creates a new
ReactiveListCommands.BRPopLPushCommand given a sourceKey. |
ByteBuffer |
getDestination() |
Duration |
getTimeout() |
ReactiveListCommands.BRPopLPushCommand |
to(ByteBuffer destinationKey)
Applies the destinationKey.
|
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveListCommands.BRPopLPushCommand from(ByteBuffer sourceKey)
ReactiveListCommands.BRPopLPushCommand
given a sourceKey.sourceKey
- must not be null.ReactiveListCommands.BRPopLPushCommand
for a sourceKey.public ReactiveListCommands.BRPopLPushCommand to(ByteBuffer destinationKey)
destinationKey
- must not be null.ReactiveListCommands.BRPopLPushCommand
with value applied.public ReactiveListCommands.BRPopLPushCommand blockingFor(Duration timeout)
timeout
. Constructs a new command instance with all previously configured properties.timeout
- must not be null.ReactiveListCommands.BRPopLPushCommand
with timeout
applied.public ByteBuffer getDestination()
public Duration getTimeout()
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.