public interface RBatch
execute()
or executeAsync()
methods.
Please be ware, atomicity is not guaranteed.Modifier and Type | Method and Description |
---|---|
List<?> |
execute()
Executes all operations accumulated during async methods invocations.
|
io.netty.util.concurrent.Future<List<?>> |
executeAsync()
Executes all operations accumulated during async methods invocations asynchronously.
|
RAtomicDoubleAsync |
getAtomicDouble(String name)
Returns atomicDouble instance by name.
|
RAtomicLongAsync |
getAtomicLong(String name)
Returns atomicLong instance by name.
|
RBitSetAsync |
getBitSet(String name) |
<V> RBlockingDequeAsync<V> |
getBlockingDeque(String name)
Returns blocking deque instance by name.
|
<V> RBlockingDequeAsync<V> |
getBlockingDeque(String name,
Codec codec) |
<V> RBlockingQueueAsync<V> |
getBlockingQueue(String name)
Returns blocking queue instance by name.
|
<V> RBlockingQueueAsync<V> |
getBlockingQueue(String name,
Codec codec) |
<V> RBucketAsync<V> |
getBucket(String name)
Returns object holder by
name |
<V> RBucketAsync<V> |
getBucket(String name,
Codec codec) |
<V> RDequeAsync<V> |
getDeque(String name)
Returns deque instance by name.
|
<V> RDequeAsync<V> |
getDeque(String name,
Codec codec) |
<V> RGeoAsync<V> |
getGeo(String name)
Returns geospatial items holder instance by
name . |
<V> RGeoAsync<V> |
getGeo(String name,
Codec codec)
Returns geospatial items holder instance by
name
using provided codec for geospatial members. |
<V> RHyperLogLogAsync<V> |
getHyperLogLog(String name)
Returns HyperLogLog object
|
<V> RHyperLogLogAsync<V> |
getHyperLogLog(String name,
Codec codec) |
RKeysAsync |
getKeys()
Returns keys operations.
|
RLexSortedSetAsync |
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> RListAsync<V> |
getList(String name)
Returns list instance by name.
|
<V> RListAsync<V> |
getList(String name,
Codec codec) |
<K,V> RMultimapAsync<K,V> |
getListMultimap(String name)
Returns List based MultiMap instance by name.
|
<K,V> RMultimapAsync<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> RMultimapAsync<K,V> |
getListMultimapCache(String name)
Returns List based Multimap instance by name.
|
<K,V> RMultimapAsync<K,V> |
getListMultimapCache(String name,
Codec codec)
Returns List based Multimap instance by name
using provided codec for both map keys and values.
|
<K,V> RMapAsync<K,V> |
getMap(String name)
Returns map instance by name.
|
<K,V> RMapAsync<K,V> |
getMap(String name,
Codec codec) |
<K,V> RMapCacheAsync<K,V> |
getMapCache(String name)
Returns map-based cache instance by
name . |
<K,V> RMapCacheAsync<K,V> |
getMapCache(String name,
Codec codec)
Returns map-based cache instance by
name
using provided codec for both cache keys and values. |
<V> RQueueAsync<V> |
getQueue(String name)
Returns queue instance by name.
|
<V> RQueueAsync<V> |
getQueue(String name,
Codec codec) |
<V> RScoredSortedSetAsync<V> |
getScoredSortedSet(String name)
Returns Redis Sorted Set instance by name
|
<V> RScoredSortedSetAsync<V> |
getScoredSortedSet(String name,
Codec codec) |
RScriptAsync |
getScript()
Returns script operations object
|
<V> RSetAsync<V> |
getSet(String name)
Returns set instance by name.
|
<V> RSetAsync<V> |
getSet(String name,
Codec codec) |
<V> RSetCacheAsync<V> |
getSetCache(String name)
Returns set-based cache instance by
name . |
<V> RSetCacheAsync<V> |
getSetCache(String name,
Codec codec)
Returns set-based cache instance by
name
using provided codec for values. |
<K,V> RMultimapAsync<K,V> |
getSetMultimap(String name)
Returns Set based MultiMap instance by name.
|
<K,V> RMultimapAsync<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> RMultimapCacheAsync<K,V> |
getSetMultimapCache(String name)
Returns Set based Multimap instance by name.
|
<K,V> RMultimapCacheAsync<K,V> |
getSetMultimapCache(String name,
Codec codec)
Returns Set based Multimap instance by name
using provided codec for both map keys and values.
|
<M> RTopicAsync<M> |
getTopic(String name)
Returns topic instance by name.
|
<M> RTopicAsync<M> |
getTopic(String name,
Codec codec) |
<V> RGeoAsync<V> getGeo(String name)
name
.name
- <V> RGeoAsync<V> getGeo(String name, Codec codec)
name
using provided codec for geospatial members.name
- geospatial
- member codec<K,V> RMultimapAsync<K,V> getSetMultimap(String name)
name
- <K,V> RMultimapAsync<K,V> getSetMultimap(String name, Codec codec)
name
- codec
- <K,V> RMultimapCacheAsync<K,V> getSetMultimapCache(String name)
If eviction is not required then it's better to use regular map getSetMultimap(String)
.
name
- <K,V> RMultimapCacheAsync<K,V> getSetMultimapCache(String name, Codec codec)
If eviction is not required then it's better to use regular map getSetMultimap(String, Codec)
.
name
- <V> RSetCacheAsync<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)
.
name
- codec
- <V> RSetCacheAsync<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)
.
name
- codec
- <K,V> RMapCacheAsync<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)
.
name
- codec
- <K,V> RMapCacheAsync<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)
.
name
- <V> RBucketAsync<V> getBucket(String name)
name
name
- of object<V> RBucketAsync<V> getBucket(String name, Codec codec)
<V> RHyperLogLogAsync<V> getHyperLogLog(String name)
name
- of object<V> RHyperLogLogAsync<V> getHyperLogLog(String name, Codec codec)
<V> RListAsync<V> getList(String name)
name
- of list<V> RListAsync<V> getList(String name, Codec codec)
<K,V> RMultimapAsync<K,V> getListMultimap(String name)
name
- <K,V> RMultimapAsync<K,V> getListMultimap(String name, Codec codec)
name
- codec
- <K,V> RMultimapAsync<K,V> getListMultimapCache(String name)
If eviction is not required then it's better to use regular map getSetMultimap(String)
.
name
- <K,V> RMultimapAsync<K,V> getListMultimapCache(String name, Codec codec)
If eviction is not required then it's better to use regular map getSetMultimap(String, Codec)
.
name
- <K,V> RMapAsync<K,V> getMap(String name)
name
- of map<V> RSetAsync<V> getSet(String name)
name
- of set<M> RTopicAsync<M> getTopic(String name)
name
- of topic<M> RTopicAsync<M> getTopic(String name, Codec codec)
<V> RQueueAsync<V> getQueue(String name)
name
- of queue<V> RQueueAsync<V> getQueue(String name, Codec codec)
<V> RBlockingQueueAsync<V> getBlockingQueue(String name)
name
- of queue<V> RBlockingQueueAsync<V> getBlockingQueue(String name, Codec codec)
<V> RDequeAsync<V> getDeque(String name)
name
- of deque<V> RDequeAsync<V> getDeque(String name, Codec codec)
<V> RBlockingDequeAsync<V> getBlockingDeque(String name)
name
- of queue<V> RBlockingDequeAsync<V> getBlockingDeque(String name, Codec codec)
RAtomicLongAsync getAtomicLong(String name)
name
- RAtomicDoubleAsync getAtomicDouble(String name)
name
- <V> RScoredSortedSetAsync<V> getScoredSortedSet(String name)
name
- <V> RScoredSortedSetAsync<V> getScoredSortedSet(String name, Codec codec)
RLexSortedSetAsync getLexSortedSet(String name)
name
- RBitSetAsync getBitSet(String name)
RScriptAsync getScript()
RKeysAsync getKeys()
List<?> execute() throws RedisException
RedisException
- in case of any errorio.netty.util.concurrent.Future<List<?>> executeAsync()
Copyright © 2014–2016. All rights reserved.