public class RedissonBatchReactive extends Object implements RBatchReactive
Constructor and Description |
---|
RedissonBatchReactive(UUID id,
EvictionScheduler evictionScheduler,
ConnectionManager connectionManager) |
Modifier and Type | Method and Description |
---|---|
void |
enableRedissonReferenceSupport(RedissonReactiveClient redissonReactive) |
org.reactivestreams.Publisher<List<?>> |
execute()
Executes all operations accumulated during Reactive methods invocations Reactivehronously.
|
RAtomicLongReactive |
getAtomicLongReactive(String name)
Returns "atomic long" instance by name.
|
RBitSetReactive |
getBitSet(String name)
Returns bitSet instance by name.
|
<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> |
getDequeReactive(String name)
Returns deque instance by name.
|
<V> RDequeReactive<V> |
getDequeReactive(String name,
Codec codec) |
<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> 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
|
<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. |
<M> RTopicReactive<M> |
getTopic(String name)
Returns topic instance by name.
|
<M> RTopicReactive<M> |
getTopic(String name,
Codec codec) |
public RedissonBatchReactive(UUID id, EvictionScheduler evictionScheduler, ConnectionManager connectionManager)
public <V> RBucketReactive<V> getBucket(String name)
RBatchReactive
getBucket
in interface RBatchReactive
V
- type of valuename
- - name of objectpublic <V> RBucketReactive<V> getBucket(String name, Codec codec)
getBucket
in interface RBatchReactive
public <V> RHyperLogLogReactive<V> getHyperLogLog(String name)
RBatchReactive
getHyperLogLog
in interface RBatchReactive
V
- type of valuename
- - name of objectpublic <V> RHyperLogLogReactive<V> getHyperLogLog(String name, Codec codec)
getHyperLogLog
in interface RBatchReactive
public <V> RListReactive<V> getList(String name)
RBatchReactive
getList
in interface RBatchReactive
V
- type of valuename
- - name of objectpublic <V> RListReactive<V> getList(String name, Codec codec)
getList
in interface RBatchReactive
public <K,V> RMapReactive<K,V> getMap(String name)
RBatchReactive
getMap
in interface RBatchReactive
K
- type of keyV
- type of valuename
- - name of objectpublic <K,V> RMapReactive<K,V> getMap(String name, Codec codec)
getMap
in interface RBatchReactive
public <K,V> RMapCacheReactive<K,V> getMapCache(String name, Codec codec)
RBatchReactive
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 RBatchReactive.getMap(String, Codec)
.
getMapCache
in interface RBatchReactive
K
- type of keyV
- type of valuename
- - name of objectcodec
- - codec for keys and valuespublic <K,V> RMapCacheReactive<K,V> getMapCache(String name)
RBatchReactive
name
.
Supports entry eviction with a given TTL value.
If eviction is not required then it's better to use regular map RBatchReactive.getMap(String)
.
getMapCache
in interface RBatchReactive
K
- type of keyV
- type of valuename
- - name of objectpublic <V> RSetReactive<V> getSet(String name)
RBatchReactive
getSet
in interface RBatchReactive
V
- type of valuename
- - name of objectpublic <V> RSetReactive<V> getSet(String name, Codec codec)
getSet
in interface RBatchReactive
public <M> RTopicReactive<M> getTopic(String name)
RBatchReactive
getTopic
in interface RBatchReactive
M
- type of messagename
- - name of objectpublic <M> RTopicReactive<M> getTopic(String name, Codec codec)
getTopic
in interface RBatchReactive
public <V> RQueueReactive<V> getQueue(String name)
RBatchReactive
getQueue
in interface RBatchReactive
V
- type of valuename
- - name of objectpublic <V> RQueueReactive<V> getQueue(String name, Codec codec)
getQueue
in interface RBatchReactive
public <V> RBlockingQueueReactive<V> getBlockingQueue(String name)
RBatchReactive
getBlockingQueue
in interface RBatchReactive
V
- type of valuename
- - name of objectpublic <V> RBlockingQueueReactive<V> getBlockingQueue(String name, Codec codec)
getBlockingQueue
in interface RBatchReactive
public <V> RDequeReactive<V> getDequeReactive(String name)
RBatchReactive
getDequeReactive
in interface RBatchReactive
V
- type of valuename
- - name of objectpublic <V> RDequeReactive<V> getDequeReactive(String name, Codec codec)
getDequeReactive
in interface RBatchReactive
public RAtomicLongReactive getAtomicLongReactive(String name)
RBatchReactive
getAtomicLongReactive
in interface RBatchReactive
name
- - name of objectpublic <V> RSetCacheReactive<V> getSetCache(String name)
RBatchReactive
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 RBatchReactive.getSet(String, Codec)
.
getSetCache
in interface RBatchReactive
V
- type of valuename
- - name of objectpublic <V> RSetCacheReactive<V> getSetCache(String name, Codec codec)
RBatchReactive
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 RBatchReactive.getSet(String, Codec)
.
getSetCache
in interface RBatchReactive
V
- type of valuename
- - name of objectcodec
- - codec for valuespublic <V> RScoredSortedSetReactive<V> getScoredSortedSet(String name)
RBatchReactive
getScoredSortedSet
in interface RBatchReactive
V
- type of valuename
- - name of objectpublic <V> RScoredSortedSetReactive<V> getScoredSortedSet(String name, Codec codec)
getScoredSortedSet
in interface RBatchReactive
public RLexSortedSetReactive getLexSortedSet(String name)
RBatchReactive
getLexSortedSet
in interface RBatchReactive
name
- - name of objectpublic RBitSetReactive getBitSet(String name)
RBatchReactive
getBitSet
in interface RBatchReactive
name
- of bitSetpublic RScriptReactive getScript()
RBatchReactive
getScript
in interface RBatchReactive
public RKeysReactive getKeys()
RBatchReactive
getKeys
in interface RBatchReactive
public org.reactivestreams.Publisher<List<?>> execute()
RBatchReactive
execute
in interface RBatchReactive
public void enableRedissonReferenceSupport(RedissonReactiveClient redissonReactive)
Copyright © 2014–2017 The Redisson Project. All rights reserved.