Class ReactiveSetCommands.SPopCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveSetCommands.SPopCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveSetCommands
SPOP
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(ByteBuffer key) Applies the key.long
getCount()
members
(long count) Creates a newReactiveSetCommands.SPopCommand
forcount
members.one()
Creates a newReactiveSetCommands.SPopCommand
for a single member.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
one
Creates a newReactiveSetCommands.SPopCommand
for a single member.- Returns:
- a new
ReactiveSetCommands.SPopCommand
for a single member.
-
members
Creates a newReactiveSetCommands.SPopCommand
forcount
members.- Returns:
- a new
ReactiveSetCommands.SPopCommand
forcount
members.
-
from
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveSetCommands.SRemCommand
with key applied.
-
getCount
public long getCount()
-