public class RedissonBatchReactive extends Object implements RBatchReactive
| Constructor and Description |
|---|
RedissonBatchReactive(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(EvictionScheduler evictionScheduler, ConnectionManager connectionManager)
public <V> RBucketReactive<V> getBucket(String name)
RBatchReactivegetBucket in interface RBatchReactiveV - type of valuename - - name of objectpublic <V> RBucketReactive<V> getBucket(String name, Codec codec)
getBucket in interface RBatchReactivepublic <V> RHyperLogLogReactive<V> getHyperLogLog(String name)
RBatchReactivegetHyperLogLog in interface RBatchReactiveV - type of valuename - - name of objectpublic <V> RHyperLogLogReactive<V> getHyperLogLog(String name, Codec codec)
getHyperLogLog in interface RBatchReactivepublic <V> RListReactive<V> getList(String name)
RBatchReactivegetList in interface RBatchReactiveV - type of valuename - - name of objectpublic <V> RListReactive<V> getList(String name, Codec codec)
getList in interface RBatchReactivepublic <K,V> RMapReactive<K,V> getMap(String name)
RBatchReactivegetMap in interface RBatchReactiveK - type of keyV - type of valuename - - name of objectpublic <K,V> RMapReactive<K,V> getMap(String name, Codec codec)
getMap in interface RBatchReactivepublic <K,V> RMapCacheReactive<K,V> getMapCache(String name, Codec codec)
RBatchReactivename
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 RBatchReactiveK - type of keyV - type of valuename - - name of objectcodec - - codec for keys and valuespublic <K,V> RMapCacheReactive<K,V> getMapCache(String name)
RBatchReactivename.
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 RBatchReactiveK - type of keyV - type of valuename - - name of objectpublic <V> RSetReactive<V> getSet(String name)
RBatchReactivegetSet in interface RBatchReactiveV - type of valuename - - name of objectpublic <V> RSetReactive<V> getSet(String name, Codec codec)
getSet in interface RBatchReactivepublic <M> RTopicReactive<M> getTopic(String name)
RBatchReactivegetTopic in interface RBatchReactiveM - type of messagename - - name of objectpublic <M> RTopicReactive<M> getTopic(String name, Codec codec)
getTopic in interface RBatchReactivepublic <V> RQueueReactive<V> getQueue(String name)
RBatchReactivegetQueue in interface RBatchReactiveV - type of valuename - - name of objectpublic <V> RQueueReactive<V> getQueue(String name, Codec codec)
getQueue in interface RBatchReactivepublic <V> RBlockingQueueReactive<V> getBlockingQueue(String name)
RBatchReactivegetBlockingQueue in interface RBatchReactiveV - type of valuename - - name of objectpublic <V> RBlockingQueueReactive<V> getBlockingQueue(String name, Codec codec)
getBlockingQueue in interface RBatchReactivepublic <V> RDequeReactive<V> getDequeReactive(String name)
RBatchReactivegetDequeReactive in interface RBatchReactiveV - type of valuename - - name of objectpublic <V> RDequeReactive<V> getDequeReactive(String name, Codec codec)
getDequeReactive in interface RBatchReactivepublic RAtomicLongReactive getAtomicLongReactive(String name)
RBatchReactivegetAtomicLongReactive in interface RBatchReactivename - - name of objectpublic <V> RSetCacheReactive<V> getSetCache(String name)
RBatchReactivename.
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 RBatchReactiveV - type of valuename - - name of objectpublic <V> RSetCacheReactive<V> getSetCache(String name, Codec codec)
RBatchReactivename
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 RBatchReactiveV - type of valuename - - name of objectcodec - - codec for valuespublic <V> RScoredSortedSetReactive<V> getScoredSortedSet(String name)
RBatchReactivegetScoredSortedSet in interface RBatchReactiveV - type of valuename - - name of objectpublic <V> RScoredSortedSetReactive<V> getScoredSortedSet(String name, Codec codec)
getScoredSortedSet in interface RBatchReactivepublic RLexSortedSetReactive getLexSortedSet(String name)
RBatchReactivegetLexSortedSet in interface RBatchReactivename - - name of objectpublic RBitSetReactive getBitSet(String name)
RBatchReactivegetBitSet in interface RBatchReactivename - of bitSetpublic RScriptReactive getScript()
RBatchReactivegetScript in interface RBatchReactivepublic RKeysReactive getKeys()
RBatchReactivegetKeys in interface RBatchReactivepublic org.reactivestreams.Publisher<List<?>> execute()
RBatchReactiveexecute in interface RBatchReactivepublic void enableRedissonReferenceSupport(RedissonReactiveClient redissonReactive)
Copyright © 2014–2017 The Redisson Project. All rights reserved.