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.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic 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.@Nullable public ByteBuffer getDestination()
public Duration getTimeout()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.