public static class ReactiveZSetCommands.BZPopCommand extends ReactiveRedisConnection.KeyCommand
BZPOPMIN/BZPOPMAX command parameters.| Modifier and Type | Method and Description |
|---|---|
ReactiveZSetCommands.BZPopCommand |
blockingFor(Duration timeout)
Applies a
timeout. |
ReactiveZSetCommands.BZPopCommand |
blockingFor(long timeout,
TimeUnit timeUnit)
Applies a
timeout. |
ReactiveZSetCommands.BZPopCommand |
count(long count)
Applies the key.
|
ReactiveZSetCommands.BZPopCommand |
from(ByteBuffer key)
Applies the key.
|
long |
getCount() |
ReactiveZSetCommands.PopDirection |
getDirection() |
Long |
getTimeout() |
TimeUnit |
getTimeUnit() |
static ReactiveZSetCommands.BZPopCommand |
max()
Creates a new
ReactiveZSetCommands.BZPopCommand for max pop (ZPOPMAX). |
static ReactiveZSetCommands.BZPopCommand |
min()
Creates a new
ReactiveZSetCommands.BZPopCommand for min pop (ZPOPMIN). |
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveZSetCommands.BZPopCommand min()
ReactiveZSetCommands.BZPopCommand for min pop (ZPOPMIN).ReactiveZSetCommands.BZPopCommand for min pop (ZPOPMIN).public static ReactiveZSetCommands.BZPopCommand max()
ReactiveZSetCommands.BZPopCommand for max pop (ZPOPMAX).ReactiveZSetCommands.BZPopCommand for max pop (ZPOPMAX).public ReactiveZSetCommands.BZPopCommand from(ByteBuffer key)
key - must not be null.ReactiveZSetCommands.BZPopCommand with value applied.public ReactiveZSetCommands.BZPopCommand count(long count)
count - ReactiveZSetCommands.BZPopCommand with value applied.public ReactiveZSetCommands.BZPopCommand blockingFor(Duration timeout)
timeout. Constructs a new command instance with all previously configured properties.timeout - must not be null.ReactiveZSetCommands.BZPopCommand with timeout applied.public ReactiveZSetCommands.BZPopCommand blockingFor(long timeout, TimeUnit timeUnit)
timeout. Constructs a new command instance with all previously configured properties.timeout - value.timeUnit - must not be null.ReactiveZSetCommands.BZPopCommand with timeout applied.public ReactiveZSetCommands.PopDirection getDirection()
public long getCount()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.