| Constructor and Description |
|---|
RedissonBatchRx(EvictionScheduler evictionScheduler,
ConnectionManager connectionManager,
CommandRxExecutor commandExecutor,
BatchOptions options) |
| Modifier and Type | Method and Description |
|---|---|
RBatchRx |
atomic() |
void |
enableRedissonReferenceSupport(RedissonRxClient redissonRx) |
io.reactivex.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> 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> 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) |
RBatchRx |
retryAttempts(int retryAttempts) |
RBatchRx |
retryInterval(long retryInterval,
TimeUnit unit) |
RBatchRx |
skipResult() |
RBatchRx |
syncSlaves(int slaves,
long timeout,
TimeUnit unit) |
RBatchRx |
timeout(long timeout,
TimeUnit unit) |
public RedissonBatchRx(EvictionScheduler evictionScheduler, ConnectionManager connectionManager, CommandRxExecutor commandExecutor, BatchOptions options)
public <K,V> RStreamRx<K,V> getStream(String name)
RBatchRxname
Requires Redis 5.0.0 and higher.
public <K,V> RStreamRx<K,V> getStream(String name, Codec codec)
RBatchRxname
using provided codec for entries.
Requires Redis 5.0.0 and higher.
public <V> RBucketRx<V> getBucket(String name)
RBatchRxpublic <V> RHyperLogLogRx<V> getHyperLogLog(String name)
RBatchRxgetHyperLogLog in interface RBatchRxV - type of valuename - - name of objectpublic <V> RHyperLogLogRx<V> getHyperLogLog(String name, Codec codec)
getHyperLogLog in interface RBatchRxpublic <V> RListRx<V> getList(String name)
RBatchRxpublic <K,V> RMapRx<K,V> getMap(String name)
RBatchRxpublic <K,V> RMapCacheRx<K,V> getMapCache(String name, Codec codec)
RBatchRxname
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 RBatchRx.getMap(String, Codec).
getMapCache in interface RBatchRxK - type of keyV - type of valuename - - name of objectcodec - - codec for keys and valuespublic <K,V> RMapCacheRx<K,V> getMapCache(String name)
RBatchRxname.
Supports entry eviction with a given TTL value.
If eviction is not required then it's better to use regular map RBatchRx.getMap(String).
getMapCache in interface RBatchRxK - type of keyV - type of valuename - - name of objectpublic <V> RSetRx<V> getSet(String name)
RBatchRxpublic RTopicRx getTopic(String name)
RBatchRxpublic <V> RQueueRx<V> getQueue(String name)
RBatchRxpublic <V> RBlockingQueueRx<V> getBlockingQueue(String name)
RBatchRxgetBlockingQueue in interface RBatchRxV - type of valuename - - name of objectpublic <V> RBlockingQueueRx<V> getBlockingQueue(String name, Codec codec)
getBlockingQueue in interface RBatchRxpublic <V> RDequeRx<V> getDeque(String name)
RBatchRxpublic RAtomicLongRx getAtomicLong(String name)
RBatchRxgetAtomicLong in interface RBatchRxname - - name of objectpublic <V> RSetCacheRx<V> getSetCache(String name)
RBatchRxname.
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 RBatchRx.getSet(String, Codec).
getSetCache in interface RBatchRxV - type of valuename - - name of objectpublic <V> RSetCacheRx<V> getSetCache(String name, Codec codec)
RBatchRxname
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 RBatchRx.getSet(String, Codec).
getSetCache in interface RBatchRxV - type of valuename - - name of objectcodec - - codec for valuespublic <V> RScoredSortedSetRx<V> getScoredSortedSet(String name)
RBatchRxgetScoredSortedSet in interface RBatchRxV - type of valuename - - name of objectpublic <V> RScoredSortedSetRx<V> getScoredSortedSet(String name, Codec codec)
getScoredSortedSet in interface RBatchRxpublic RLexSortedSetRx getLexSortedSet(String name)
RBatchRxgetLexSortedSet in interface RBatchRxname - - name of objectpublic RBitSetRx getBitSet(String name)
RBatchRxpublic RScriptRx getScript()
RBatchRxpublic RScriptRx getScript(Codec codec)
RBatchRxpublic RKeysRx getKeys()
RBatchRxpublic io.reactivex.Maybe<BatchResult<?>> execute()
RBatchRxpublic RBatchRx syncSlaves(int slaves, long timeout, TimeUnit unit)
syncSlaves in interface RBatchRxpublic RBatchRx skipResult()
skipResult in interface RBatchRxpublic RBatchRx retryAttempts(int retryAttempts)
retryAttempts in interface RBatchRxpublic RBatchRx retryInterval(long retryInterval, TimeUnit unit)
retryInterval in interface RBatchRxpublic void enableRedissonReferenceSupport(RedissonRxClient redissonRx)
public <V> RGeoRx<V> getGeo(String name)
RBatchRxname.public <V> RGeoRx<V> getGeo(String name, Codec codec)
RBatchRxname
using provided codec for geospatial members.public <K,V> RSetMultimapRx<K,V> getSetMultimap(String name)
RBatchRxgetSetMultimap in interface RBatchRxK - type of keyV - type of valuename - - name of objectpublic <K,V> RSetMultimapRx<K,V> getSetMultimap(String name, Codec codec)
RBatchRxgetSetMultimap in interface RBatchRxK - type of keyV - type of valuename - - name of objectcodec - - codec for keys and valuespublic <K,V> RListMultimapRx<K,V> getListMultimap(String name)
RBatchRxgetListMultimap in interface RBatchRxK - type of keyV - type of valuename - - name of objectpublic <K,V> RListMultimapRx<K,V> getListMultimap(String name, Codec codec)
RBatchRxgetListMultimap in interface RBatchRxK - type of keyV - type of valuename - - name of objectcodec - - codec for keys and valuespublic RAtomicDoubleRx getAtomicDouble(String name)
RBatchRxgetAtomicDouble in interface RBatchRxname - - name of objectpublic <V> RBlockingDequeRx<V> getBlockingDeque(String name)
RBatchRxgetBlockingDeque in interface RBatchRxV - type of valuename - - name of objectpublic <V> RBlockingDequeRx<V> getBlockingDeque(String name, Codec codec)
getBlockingDeque in interface RBatchRxCopyright © 2014–2019 Redisson. All rights reserved.