public interface RBatchReactive
All method invocations on objects
from this interface are batched to separate queue and could be executed later
with execute()
method.
Modifier and Type | Method and Description |
---|---|
RBatchReactive |
atomic()
Deprecated.
|
reactor.core.publisher.Mono<BatchResult<?>> |
execute()
Executes all operations accumulated during Reactive methods invocations Reactivehronously.
|
RAtomicDoubleReactive |
getAtomicDouble(String name)
Returns atomicDouble instance by name.
|
RAtomicLongReactive |
getAtomicLong(String name)
Returns "atomic long" instance by name.
|
RBitSetReactive |
getBitSet(String name)
Returns bitSet instance by name.
|
<V> RBlockingDequeReactive<V> |
getBlockingDeque(String name)
Returns blocking deque instance by name.
|
<V> RBlockingDequeReactive<V> |
getBlockingDeque(String name,
Codec codec) |
<V> RBlockingQueueReactive<V> |
getBlockingQueue(String name)
Returns blocking queue instance by name.
|
<V> RBlockingQueueReactive<V> |
getBlockingQueue(String name,
Codec codec) |
<V> RBucketReactive<V> |
getBucket(String name)
Returns object holder by name
|
<V> RBucketReactive<V> |
getBucket(String name,
Codec codec) |
<V> RDequeReactive<V> |
getDeque(String name)
Returns deque instance by name.
|
<V> RDequeReactive<V> |
getDeque(String name,
Codec codec) |
<V> RGeoReactive<V> |
getGeo(String name)
Returns geospatial items holder instance by
name . |
<V> RGeoReactive<V> |
getGeo(String name,
Codec codec)
Returns geospatial items holder instance by
name
using provided codec for geospatial members. |
<V> RHyperLogLogReactive<V> |
getHyperLogLog(String name)
Returns HyperLogLog object by name
|
<V> RHyperLogLogReactive<V> |
getHyperLogLog(String name,
Codec codec) |
RKeysReactive |
getKeys()
Returns keys operations.
|
RLexSortedSetReactive |
getLexSortedSet(String name)
Returns String based Redis Sorted Set instance by name
All elements are inserted with the same score during addition,
in order to force lexicographical ordering
|
<V> RListReactive<V> |
getList(String name)
Returns list instance by name.
|
<V> RListReactive<V> |
getList(String name,
Codec codec) |
<K,V> RListMultimapReactive<K,V> |
getListMultimap(String name)
Returns List based MultiMap instance by name.
|
<K,V> RListMultimapReactive<K,V> |
getListMultimap(String name,
Codec codec)
Returns List based MultiMap instance by name
using provided codec for both map keys and values.
|
<K,V> RMapReactive<K,V> |
getMap(String name)
Returns map instance by name.
|
<K,V> RMapReactive<K,V> |
getMap(String name,
Codec codec) |
<K,V> RMapCacheReactive<K,V> |
getMapCache(String name)
Returns map-based cache instance by
name . |
<K,V> RMapCacheReactive<K,V> |
getMapCache(String name,
Codec codec)
Returns map-based cache instance by
name
using provided codec for both cache keys and values. |
<V> RQueueReactive<V> |
getQueue(String name)
Returns queue instance by name.
|
<V> RQueueReactive<V> |
getQueue(String name,
Codec codec) |
<V> RScoredSortedSetReactive<V> |
getScoredSortedSet(String name)
Returns Redis Sorted Set instance by name
|
<V> RScoredSortedSetReactive<V> |
getScoredSortedSet(String name,
Codec codec) |
RScriptReactive |
getScript()
Returns script operations object
|
RScriptReactive |
getScript(Codec codec)
Returns script operations object using provided codec.
|
<V> RSetReactive<V> |
getSet(String name)
Returns set instance by name.
|
<V> RSetReactive<V> |
getSet(String name,
Codec codec) |
<V> RSetCacheReactive<V> |
getSetCache(String name)
Returns set-based cache instance by
name . |
<V> RSetCacheReactive<V> |
getSetCache(String name,
Codec codec)
Returns set-based cache instance by
name
using provided codec for values. |
<K,V> RSetMultimapReactive<K,V> |
getSetMultimap(String name)
Returns Set based Multimap instance by name.
|
<K,V> RSetMultimapReactive<K,V> |
getSetMultimap(String name,
Codec codec)
Returns Set based Multimap instance by name
using provided codec for both map keys and values.
|
<K,V> RStreamReactive<K,V> |
getStream(String name)
Returns stream instance by
name
Requires Redis 5.0.0 and higher. |
<K,V> RStreamReactive<K,V> |
getStream(String name,
Codec codec)
Returns stream instance by
name
using provided codec for entries. |
RTopicReactive |
getTopic(String name)
Returns topic instance by name.
|
RTopicReactive |
getTopic(String name,
Codec codec) |
RBatchReactive |
retryAttempts(int retryAttempts)
Deprecated.
|
RBatchReactive |
retryInterval(long retryInterval,
TimeUnit unit)
Deprecated.
|
RBatchReactive |
skipResult()
Deprecated.
|
RBatchReactive |
syncSlaves(int slaves,
long timeout,
TimeUnit unit)
Deprecated.
|
RBatchReactive |
timeout(long timeout,
TimeUnit unit)
Deprecated.
|
<K,V> RStreamReactive<K,V> getStream(String name)
name
Requires Redis 5.0.0 and higher.
K
- type of keyV
- type of valuename
- of stream<K,V> RStreamReactive<K,V> getStream(String name, Codec codec)
name
using provided codec
for entries.
Requires Redis 5.0.0 and higher.
K
- type of keyV
- type of valuename
- - name of streamcodec
- - codec for entry<V> RGeoReactive<V> getGeo(String name)
name
.V
- type of valuename
- - name of object<V> RGeoReactive<V> getGeo(String name, Codec codec)
name
using provided codec for geospatial members.V
- type of valuename
- - name of objectcodec
- - codec for value<K,V> RSetMultimapReactive<K,V> getSetMultimap(String name)
K
- type of keyV
- type of valuename
- - name of object<K,V> RSetMultimapReactive<K,V> getSetMultimap(String name, Codec codec)
K
- type of keyV
- type of valuename
- - name of objectcodec
- - codec for keys and values<V> RSetCacheReactive<V> getSetCache(String name)
name
.
Uses map (value_hash, value) under the hood for minimal memory consumption.
Supports value eviction with a given TTL value.
If eviction is not required then it's better to use regular map getSet(String, Codec)
.
V
- type of valuename
- - name of object<V> RSetCacheReactive<V> getSetCache(String name, Codec codec)
name
using provided codec
for values.
Uses map (value_hash, value) under the hood for minimal memory consumption.
Supports value eviction with a given TTL value.
If eviction is not required then it's better to use regular map getSet(String, Codec)
.
V
- type of valuename
- - name of objectcodec
- - codec for values<K,V> RMapCacheReactive<K,V> getMapCache(String name, Codec codec)
name
using provided codec
for both cache keys and values.
Supports entry eviction with a given TTL value.
If eviction is not required then it's better to use regular map getMap(String, Codec)
.
K
- type of keyV
- type of valuename
- - name of objectcodec
- - codec for keys and values<K,V> RMapCacheReactive<K,V> getMapCache(String name)
name
.
Supports entry eviction with a given TTL value.
If eviction is not required then it's better to use regular map getMap(String)
.
K
- type of keyV
- type of valuename
- - name of object<V> RBucketReactive<V> getBucket(String name)
V
- type of valuename
- - name of object<V> RBucketReactive<V> getBucket(String name, Codec codec)
<V> RHyperLogLogReactive<V> getHyperLogLog(String name)
V
- type of valuename
- - name of object<V> RHyperLogLogReactive<V> getHyperLogLog(String name, Codec codec)
<V> RListReactive<V> getList(String name)
V
- type of valuename
- - name of object<V> RListReactive<V> getList(String name, Codec codec)
<K,V> RListMultimapReactive<K,V> getListMultimap(String name)
K
- type of keyV
- type of valuename
- - name of object<K,V> RListMultimapReactive<K,V> getListMultimap(String name, Codec codec)
K
- type of keyV
- type of valuename
- - name of objectcodec
- - codec for keys and values<K,V> RMapReactive<K,V> getMap(String name)
K
- type of keyV
- type of valuename
- - name of object<K,V> RMapReactive<K,V> getMap(String name, Codec codec)
<V> RSetReactive<V> getSet(String name)
V
- type of valuename
- - name of object<V> RSetReactive<V> getSet(String name, Codec codec)
RTopicReactive getTopic(String name)
name
- - name of objectRTopicReactive getTopic(String name, Codec codec)
<V> RQueueReactive<V> getQueue(String name)
V
- type of valuename
- - name of object<V> RQueueReactive<V> getQueue(String name, Codec codec)
<V> RBlockingQueueReactive<V> getBlockingQueue(String name)
V
- type of valuename
- - name of object<V> RBlockingQueueReactive<V> getBlockingQueue(String name, Codec codec)
<V> RBlockingDequeReactive<V> getBlockingDeque(String name)
V
- type of valuename
- - name of object<V> RBlockingDequeReactive<V> getBlockingDeque(String name, Codec codec)
<V> RDequeReactive<V> getDeque(String name)
V
- type of valuename
- - name of object<V> RDequeReactive<V> getDeque(String name, Codec codec)
RAtomicLongReactive getAtomicLong(String name)
name
- - name of objectRAtomicDoubleReactive getAtomicDouble(String name)
name
- - name of object<V> RScoredSortedSetReactive<V> getScoredSortedSet(String name)
V
- type of valuename
- - name of object<V> RScoredSortedSetReactive<V> getScoredSortedSet(String name, Codec codec)
RLexSortedSetReactive getLexSortedSet(String name)
name
- - name of objectRBitSetReactive getBitSet(String name)
name
- of bitSetRScriptReactive getScript()
RScriptReactive getScript(Codec codec)
codec
- - codec for params and resultRKeysReactive getKeys()
reactor.core.publisher.Mono<BatchResult<?>> execute()
@Deprecated RBatchReactive atomic()
@Deprecated RBatchReactive skipResult()
@Deprecated RBatchReactive syncSlaves(int slaves, long timeout, TimeUnit unit)
@Deprecated RBatchReactive timeout(long timeout, TimeUnit unit)
@Deprecated RBatchReactive retryInterval(long retryInterval, TimeUnit unit)
@Deprecated RBatchReactive retryAttempts(int retryAttempts)
Copyright © 2014–2019 The Redisson Project. All rights reserved.