public static class ReactiveNumberCommands.IncrByCommand<T extends Number> extends ReactiveRedisConnection.KeyCommand
INCRBY
command parameters.Modifier and Type | Method and Description |
---|---|
ReactiveNumberCommands.IncrByCommand<T> |
by(T value)
Applies the numeric value.
|
T |
getValue() |
static <T extends Number> |
incr(ByteBuffer key)
Creates a new
ReactiveNumberCommands.IncrByCommand given a key . |
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static <T extends Number> ReactiveNumberCommands.IncrByCommand<T> incr(ByteBuffer key)
ReactiveNumberCommands.IncrByCommand
given a key
.key
- must not be null.ReactiveNumberCommands.IncrByCommand
for key
.public ReactiveNumberCommands.IncrByCommand<T> by(T value)
value
- must not be null.ReactiveNumberCommands.IncrByCommand
with value applied.public T getValue()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.