public interface RBatchRx
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 |
---|---|
io.reactivex.rxjava3.core.Maybe<BatchResult<?>> |
execute()
Executes all operations accumulated during Reactive methods invocations Reactivehronously.
|
RAtomicDoubleRx |
getAtomicDouble(String name)
Returns atomicDouble instance by name.
|
RAtomicLongRx |
getAtomicLong(String name)
Returns "atomic long" instance by name.
|
RBitSetRx |
getBitSet(String name)
Returns bitSet instance by name.
|
<V> RBlockingDequeRx<V> |
getBlockingDeque(String name)
Returns blocking deque instance by name.
|
<V> RBlockingDequeRx<V> |
getBlockingDeque(String name,
Codec codec) |
<V> RBlockingQueueRx<V> |
getBlockingQueue(String name)
Returns blocking queue instance by name.
|
<V> RBlockingQueueRx<V> |
getBlockingQueue(String name,
Codec codec) |
<V> RBucketRx<V> |
getBucket(String name)
Returns object holder by name
|
<V> RBucketRx<V> |
getBucket(String name,
Codec codec) |
<V> RDequeRx<V> |
getDeque(String name)
Returns deque instance by name.
|
<V> RDequeRx<V> |
getDeque(String name,
Codec codec) |
<V> RGeoRx<V> |
getGeo(String name)
Returns geospatial items holder instance by
name . |
<V> RGeoRx<V> |
getGeo(String name,
Codec codec)
Returns geospatial items holder instance by
name
using provided codec for geospatial members. |
<V> RHyperLogLogRx<V> |
getHyperLogLog(String name)
Returns HyperLogLog object by name
|
<V> RHyperLogLogRx<V> |
getHyperLogLog(String name,
Codec codec) |
RKeysRx |
getKeys()
Returns keys operations.
|
RLexSortedSetRx |
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> RListRx<V> |
getList(String name)
Returns list instance by name.
|
<V> RListRx<V> |
getList(String name,
Codec codec) |
<K,V> RListMultimapRx<K,V> |
getListMultimap(String name)
Returns List based MultiMap instance by name.
|
<K,V> RListMultimapRx<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> RListMultimapCacheRx<K,V> |
getListMultimapCache(String name)
Returns List based Multimap cache instance by name.
|
<K,V> RListMultimapCacheRx<K,V> |
getListMultimapCache(String name,
Codec codec)
Returns List based Multimap cache instance by name using provided codec for both map keys and values.
|
<K,V> RMapRx<K,V> |
getMap(String name)
Returns map instance by name.
|
<K,V> RMapRx<K,V> |
getMap(String name,
Codec codec) |
<K,V> RMapCacheRx<K,V> |
getMapCache(String name)
Returns map-based cache instance by
name . |
<K,V> RMapCacheRx<K,V> |
getMapCache(String name,
Codec codec)
Returns map-based cache instance by
name
using provided codec for both cache keys and values. |
<V> RQueueRx<V> |
getQueue(String name)
Returns queue instance by name.
|
<V> RQueueRx<V> |
getQueue(String name,
Codec codec) |
<V> RScoredSortedSetRx<V> |
getScoredSortedSet(String name)
Returns Redis Sorted Set instance by name
|
<V> RScoredSortedSetRx<V> |
getScoredSortedSet(String name,
Codec codec) |
RScriptRx |
getScript()
Returns script operations object
|
RScriptRx |
getScript(Codec codec)
Returns script operations object using provided codec.
|
<V> RSetRx<V> |
getSet(String name)
Returns set instance by name.
|
<V> RSetRx<V> |
getSet(String name,
Codec codec) |
<V> RSetCacheRx<V> |
getSetCache(String name)
Returns set-based cache instance by
name . |
<V> RSetCacheRx<V> |
getSetCache(String name,
Codec codec)
Returns set-based cache instance by
name
using provided codec for values. |
<K,V> RSetMultimapRx<K,V> |
getSetMultimap(String name)
Returns Set based Multimap instance by name.
|
<K,V> RSetMultimapRx<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> RSetMultimapCacheRx<K,V> |
getSetMultimapCache(String name)
Returns Set based Multimap cache instance by name.
|
<K,V> RSetMultimapCacheRx<K,V> |
getSetMultimapCache(String name,
Codec codec)
Returns Set based Multimap cache instance by name using provided codec for both map keys and values.
|
<K,V> RStreamRx<K,V> |
getStream(String name)
Returns stream instance by
name
Requires Redis 5.0.0 and higher. |
<K,V> RStreamRx<K,V> |
getStream(String name,
Codec codec)
Returns stream instance by
name
using provided codec for entries. |
RTopicRx |
getTopic(String name)
Returns topic instance by name.
|
RTopicRx |
getTopic(String name,
Codec codec) |
<K,V> RStreamRx<K,V> getStream(String name)
name
Requires Redis 5.0.0 and higher.
K
- type of keyV
- type of valuename
- of stream<K,V> RStreamRx<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> RGeoRx<V> getGeo(String name)
name
.V
- type of valuename
- - name of object<V> RGeoRx<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> RSetMultimapRx<K,V> getSetMultimap(String name)
K
- type of keyV
- type of valuename
- - name of object<K,V> RSetMultimapRx<K,V> getSetMultimap(String name, Codec codec)
K
- type of keyV
- type of valuename
- - name of objectcodec
- - codec for keys and values<K,V> RSetMultimapCacheRx<K,V> getSetMultimapCache(String name)
getSetMultimap(String)
.K
- type of keyV
- type of valuename
- - name of object<K,V> RSetMultimapCacheRx<K,V> getSetMultimapCache(String name, Codec codec)
getSetMultimap(String, Codec)
.K
- type of keyV
- type of valuename
- - name of objectcodec
- - codec for keys and values<V> RSetCacheRx<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> RSetCacheRx<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> RMapCacheRx<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> RMapCacheRx<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> RBucketRx<V> getBucket(String name)
V
- type of valuename
- - name of object<V> RHyperLogLogRx<V> getHyperLogLog(String name)
V
- type of valuename
- - name of object<V> RHyperLogLogRx<V> getHyperLogLog(String name, Codec codec)
<V> RListRx<V> getList(String name)
V
- type of valuename
- - name of object<K,V> RListMultimapRx<K,V> getListMultimap(String name)
K
- type of keyV
- type of valuename
- - name of object<K,V> RListMultimapRx<K,V> getListMultimap(String name, Codec codec)
K
- type of keyV
- type of valuename
- - name of objectcodec
- - codec for keys and values<K,V> RListMultimapCacheRx<K,V> getListMultimapCache(String name)
getListMultimap(String)
.K
- type of keyV
- type of valuename
- - name of object<K,V> RListMultimapCacheRx<K,V> getListMultimapCache(String name, Codec codec)
getListMultimap(String, Codec)
.K
- type of keyV
- type of valuename
- - name of objectcodec
- - codec for keys and values<K,V> RMapRx<K,V> getMap(String name)
K
- type of keyV
- type of valuename
- - name of object<V> RSetRx<V> getSet(String name)
V
- type of valuename
- - name of objectRTopicRx getTopic(String name)
name
- - name of object<V> RQueueRx<V> getQueue(String name)
V
- type of valuename
- - name of object<V> RBlockingQueueRx<V> getBlockingQueue(String name)
V
- type of valuename
- - name of object<V> RBlockingQueueRx<V> getBlockingQueue(String name, Codec codec)
<V> RBlockingDequeRx<V> getBlockingDeque(String name)
V
- type of valuename
- - name of object<V> RBlockingDequeRx<V> getBlockingDeque(String name, Codec codec)
<V> RDequeRx<V> getDeque(String name)
V
- type of valuename
- - name of objectRAtomicLongRx getAtomicLong(String name)
name
- - name of objectRAtomicDoubleRx getAtomicDouble(String name)
name
- - name of object<V> RScoredSortedSetRx<V> getScoredSortedSet(String name)
V
- type of valuename
- - name of object<V> RScoredSortedSetRx<V> getScoredSortedSet(String name, Codec codec)
RLexSortedSetRx getLexSortedSet(String name)
name
- - name of objectRBitSetRx getBitSet(String name)
name
- of bitSetRScriptRx getScript()
RScriptRx getScript(Codec codec)
codec
- - codec for params and resultRKeysRx getKeys()
io.reactivex.rxjava3.core.Maybe<BatchResult<?>> execute()
Copyright © 2014–2020 Redisson. All rights reserved.