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