Class ReactiveZSetCommands.BZPopCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveZSetCommands.BZPopCommand
- All Implemented Interfaces:
- ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveZSetCommands
BZPOPMIN/BZPOPMAX command parameters.- Since:
- 2.6
- Author:
- Mark Paluch
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionblockingFor(long timeout, TimeUnit timeUnit) Applies atimeout.blockingFor(Duration timeout) Applies atimeout.count(long count) Applies the key.from(ByteBuffer key) Applies the key.longgetCount()max()Creates a newReactiveZSetCommands.BZPopCommandfor max pop (ZPOPMAX).min()Creates a newReactiveZSetCommands.BZPopCommandfor min pop (ZPOPMIN).Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommandgetKeyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.CommandgetName
- 
Method Details- 
minCreates a newReactiveZSetCommands.BZPopCommandfor min pop (ZPOPMIN).- Returns:
- a new ReactiveZSetCommands.BZPopCommandfor min pop (ZPOPMIN).
 
- 
maxCreates a newReactiveZSetCommands.BZPopCommandfor max pop (ZPOPMAX).- Returns:
- a new ReactiveZSetCommands.BZPopCommandfor max pop (ZPOPMAX).
 
- 
fromApplies the key. Constructs a new command instance with all previously configured properties.- Parameters:
- key- must not be null.
- Returns:
- a new ReactiveZSetCommands.BZPopCommandwith value applied.
 
- 
countApplies the key. Constructs a new command instance with all previously configured properties.- Parameters:
- count-
- Returns:
- a new ReactiveZSetCommands.BZPopCommandwith value applied.
 
- 
blockingForApplies atimeout. Constructs a new command instance with all previously configured properties.- Parameters:
- timeout- must not be null.
- Returns:
- a new ReactiveZSetCommands.BZPopCommandwithtimeoutapplied.
 
- 
blockingForApplies atimeout. Constructs a new command instance with all previously configured properties.- Parameters:
- timeout- value.
- timeUnit- must not be null.
- Returns:
- a new ReactiveZSetCommands.BZPopCommandwithtimeoutapplied.
 
- 
getDirection- Returns:
- never null.
 
- 
getTimeout
- 
getTimeUnit
- 
getCountpublic long getCount()
 
-