public interface ReactiveValueOperations<K,V>
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Long> |
append(K key,
String value)
Append a
value to key. |
reactor.core.publisher.Mono<List<Long>> |
bitField(K key,
BitFieldSubCommands command)
Get / Manipulate specific integer fields of varying bit widths and arbitrary non (necessary) aligned offset stored
at a given
key. |
reactor.core.publisher.Mono<Long> |
decrement(K key)
Decrements the number stored at
key by one. |
reactor.core.publisher.Mono<Long> |
decrement(K key,
long delta)
Decrements the number stored at
key by delta. |
reactor.core.publisher.Mono<Boolean> |
delete(K key)
Removes the given key.
|
reactor.core.publisher.Mono<String> |
get(K key,
long start,
long end)
Get a substring of value of
key between begin and end. |
reactor.core.publisher.Mono<V> |
get(Object key)
Get the value of
key. |
reactor.core.publisher.Mono<V> |
getAndSet(K key,
V value)
Set
value of key and return its old value. |
reactor.core.publisher.Mono<Boolean> |
getBit(K key,
long offset)
« Get the bit value at
offset of value at key. |
reactor.core.publisher.Mono<Long> |
increment(K key)
Increments the number stored at
key by one. |
reactor.core.publisher.Mono<Double> |
increment(K key,
double delta)
Increment the string representing a floating point number stored at
key by delta. |
reactor.core.publisher.Mono<Long> |
increment(K key,
long delta)
Increments the number stored at
key by delta. |
reactor.core.publisher.Mono<List<V>> |
multiGet(Collection<K> keys)
Get multiple
keys. |
reactor.core.publisher.Mono<Boolean> |
multiSet(Map<? extends K,? extends V> map)
Set multiple keys to multiple values using key-value pairs provided in
tuple. |
reactor.core.publisher.Mono<Boolean> |
multiSetIfAbsent(Map<? extends K,? extends V> map)
Set multiple keys to multiple values using key-value pairs provided in
tuple only if the provided key does
not exist. |
reactor.core.publisher.Mono<Boolean> |
set(K key,
V value)
Set
value for key. |
reactor.core.publisher.Mono<Boolean> |
set(K key,
V value,
Duration timeout)
Set the
value and expiration timeout for key. |
reactor.core.publisher.Mono<Long> |
set(K key,
V value,
long offset)
Overwrite parts of
key starting at the specified offset with given value. |
reactor.core.publisher.Mono<Boolean> |
setBit(K key,
long offset,
boolean value)
Sets the bit at
offset in value stored at key. |
reactor.core.publisher.Mono<Boolean> |
setIfAbsent(K key,
V value)
Set
key to hold the string value if key is absent. |
reactor.core.publisher.Mono<Boolean> |
setIfAbsent(K key,
V value,
Duration timeout)
Set
key to hold the string value and expiration timeout if key is absent. |
reactor.core.publisher.Mono<Boolean> |
setIfPresent(K key,
V value)
Set
key to hold the string value if key is present. |
reactor.core.publisher.Mono<Boolean> |
setIfPresent(K key,
V value,
Duration timeout)
Set
key to hold the string value and expiration timeout if key is present. |
reactor.core.publisher.Mono<Long> |
size(K key)
Get the length of the value stored at
key. |
reactor.core.publisher.Mono<Boolean> set(K key, V value)
value for key.key - must not be null.value - reactor.core.publisher.Mono<Boolean> set(K key, V value, Duration timeout)
value and expiration timeout for key.key - must not be null.value - timeout - must not be null.reactor.core.publisher.Mono<Boolean> setIfAbsent(K key, V value)
key to hold the string value if key is absent.key - must not be null.value - reactor.core.publisher.Mono<Boolean> setIfAbsent(K key, V value, Duration timeout)
key to hold the string value and expiration timeout if key is absent.key - must not be null.value - timeout - must not be null.reactor.core.publisher.Mono<Boolean> setIfPresent(K key, V value)
key to hold the string value if key is present.key - must not be null.value - reactor.core.publisher.Mono<Boolean> setIfPresent(K key, V value, Duration timeout)
key to hold the string value and expiration timeout if key is present.key - must not be null.value - timeout - must not be null.reactor.core.publisher.Mono<Boolean> multiSet(Map<? extends K,? extends V> map)
tuple.map - must not be null.reactor.core.publisher.Mono<Boolean> multiSetIfAbsent(Map<? extends K,? extends V> map)
tuple only if the provided key does
not exist.map - must not be null.reactor.core.publisher.Mono<V> get(Object key)
key.key - must not be null.reactor.core.publisher.Mono<V> getAndSet(K key, V value)
value of key and return its old value.key - must not be null.reactor.core.publisher.Mono<List<V>> multiGet(Collection<K> keys)
keys. Values are returned in the order of the requested keys.keys - must not be null.reactor.core.publisher.Mono<Long> increment(K key)
key by one.key - must not be null.reactor.core.publisher.Mono<Long> increment(K key, long delta)
key by delta.key - must not be null.delta - reactor.core.publisher.Mono<Double> increment(K key, double delta)
key by delta.key - must not be null.delta - reactor.core.publisher.Mono<Long> decrement(K key)
key by one.key - must not be null.reactor.core.publisher.Mono<Long> decrement(K key, long delta)
key by delta.key - must not be null.delta - reactor.core.publisher.Mono<Long> append(K key, String value)
value to key.key - must not be null.value - reactor.core.publisher.Mono<String> get(K key, long start, long end)
key between begin and end.key - must not be null.start - end - reactor.core.publisher.Mono<Long> set(K key, V value, long offset)
key starting at the specified offset with given value.key - must not be null.value - offset - reactor.core.publisher.Mono<Long> size(K key)
key.key - must not be null.reactor.core.publisher.Mono<Boolean> setBit(K key, long offset, boolean value)
offset in value stored at key.key - must not be null.offset - value - reactor.core.publisher.Mono<Boolean> getBit(K key, long offset)
offset of value at key.key - must not be null.offset - reactor.core.publisher.Mono<List<Long>> bitField(K key, BitFieldSubCommands command)
key.key - must not be null.command - must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.