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.longgetCount()members(long count) Creates a newReactiveSetCommands.SPopCommandforcountmembers.one()Creates a newReactiveSetCommands.SPopCommandfor a single member.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
-
one
Creates a newReactiveSetCommands.SPopCommandfor a single member.- Returns:
- a new
ReactiveSetCommands.SPopCommandfor a single member.
-
members
Creates a newReactiveSetCommands.SPopCommandforcountmembers.- Returns:
- a new
ReactiveSetCommands.SPopCommandforcountmembers.
-
from
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveSetCommands.SRemCommandwith key applied.
-
getCount
public long getCount()
-