Class ReactiveNumberCommands.DecrByCommand<T extends Number>
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveNumberCommands.DecrByCommand<T>
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveNumberCommands
public static class ReactiveNumberCommands.DecrByCommand<T extends Number>
extends ReactiveRedisConnection.KeyCommand
DECRBY
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionApplies the numeric value.static <T extends Number>
ReactiveNumberCommands.DecrByCommand<T>decr
(ByteBuffer key) Creates a newReactiveNumberCommands.DecrByCommand
given akey
.getValue()
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
-
decr
Creates a newReactiveNumberCommands.DecrByCommand
given akey
.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveNumberCommands.DecrByCommand
forkey
.
-
by
Applies the numeric value. Constructs a new command instance with all previously configured properties.- Parameters:
value
- must not be null.- Returns:
- a new
ReactiveNumberCommands.DecrByCommand
with value applied.
-
getValue
- Returns:
- can be null.
-