Class ReactiveZSetCommands.ZPopCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveZSetCommands.ZPopCommand
- All Implemented Interfaces:
 ReactiveRedisConnection.Command
- Enclosing interface:
 - ReactiveZSetCommands
 
ZPOPMIN/ZPOPMAX command parameters.- Since:
 - 2.6
 - Author:
 - Mark Paluch
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptioncount(long count) Applies the key.from(ByteBuffer key) Applies the key.longgetCount()max()Creates a newReactiveZSetCommands.ZPopCommandfor max pop (ZPOPMAX).min()Creates a newReactiveZSetCommands.ZPopCommandfor min pop (ZPOPMIN).Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName 
- 
Method Details
- 
min
Creates a newReactiveZSetCommands.ZPopCommandfor min pop (ZPOPMIN).- Returns:
 - a new 
ReactiveZSetCommands.ZPopCommandfor min pop (ZPOPMIN). 
 - 
max
Creates a newReactiveZSetCommands.ZPopCommandfor max pop (ZPOPMAX).- Returns:
 - a new 
ReactiveZSetCommands.ZPopCommandfor max pop (ZPOPMAX). 
 - 
from
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
 key- must not be null.- Returns:
 - a new 
ReactiveZSetCommands.ZPopCommandwith value applied. 
 - 
count
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
 count-- Returns:
 - a new 
ReactiveZSetCommands.ZPopCommandwith value applied. 
 - 
getDirection
- Returns:
 - never null.
 
 - 
getCount
public long getCount() 
 -