public class RedissonBatchReactive extends Object implements RBatchReactive
Constructor and Description |
---|
RedissonBatchReactive(EvictionScheduler evictionScheduler,
ConnectionManager connectionManager) |
Modifier and Type | Method and Description |
---|---|
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) |
<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
|
<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) |
<M> RTopicReactive<M> |
getTopic(String name)
Returns topic instance by name.
|
<M> RTopicReactive<M> |
getTopic(String name,
Codec codec) |
public RedissonBatchReactive(EvictionScheduler evictionScheduler, ConnectionManager connectionManager)
public <V> RBucketReactive<V> getBucket(String name)
RBatchReactive
getBucket
in interface RBatchReactive
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
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
name
- of listpublic <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
name
- of mappublic <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
public <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
public <V> RSetReactive<V> getSet(String name)
RBatchReactive
getSet
in interface RBatchReactive
name
- of setpublic <V> RSetReactive<V> getSet(String name, Codec codec)
getSet
in interface RBatchReactive
public <M> RTopicReactive<M> getTopic(String name)
RBatchReactive
getTopic
in interface RBatchReactive
name
- of topicpublic <M> RTopicReactive<M> getTopic(String name, Codec codec)
getTopic
in interface RBatchReactive
public <V> RQueueReactive<V> getQueue(String name)
RBatchReactive
getQueue
in interface RBatchReactive
name
- of queuepublic <V> RQueueReactive<V> getQueue(String name, Codec codec)
getQueue
in interface RBatchReactive
public <V> RBlockingQueueReactive<V> getBlockingQueue(String name)
RBatchReactive
getBlockingQueue
in interface RBatchReactive
name
- of queuepublic <V> RBlockingQueueReactive<V> getBlockingQueue(String name, Codec codec)
getBlockingQueue
in interface RBatchReactive
public <V> RDequeReactive<V> getDequeReactive(String name)
RBatchReactive
getDequeReactive
in interface RBatchReactive
name
- of dequepublic <V> RDequeReactive<V> getDequeReactive(String name, Codec codec)
getDequeReactive
in interface RBatchReactive
public RAtomicLongReactive getAtomicLongReactive(String name)
RBatchReactive
getAtomicLongReactive
in interface RBatchReactive
name
- of the "atomic long"public <V> RScoredSortedSetReactive<V> getScoredSortedSet(String name)
RBatchReactive
getScoredSortedSet
in interface RBatchReactive
public <V> RScoredSortedSetReactive<V> getScoredSortedSet(String name, Codec codec)
getScoredSortedSet
in interface RBatchReactive
public RLexSortedSetReactive getLexSortedSet(String name)
RBatchReactive
getLexSortedSet
in interface RBatchReactive
public RBitSetReactive getBitSet(String name)
getBitSet
in interface RBatchReactive
public 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
Copyright © 2014–2015. All rights reserved.