Constructor and Description |
---|
RedissonBatch(ConnectionManager connectionManager) |
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.
|
RAtomicLongAsync |
getAtomicLongAsync(String name)
Returns "atomic long" instance by name.
|
<V> RBlockingQueueAsync<V> |
getBlockingQueue(String name)
Returns blocking queue instance by name.
|
<V> RBucketAsync<V> |
getBucket(String name)
Returns object holder by name
|
<V> RDequeAsync<V> |
getDequeAsync(String name)
Returns deque instance by name.
|
<V> RHyperLogLogAsync<V> |
getHyperLogLog(String name)
Returns HyperLogLog object
|
RKeysAsync |
getKeys()
Returns keys operations.
|
<V> RListAsync<V> |
getList(String name)
Returns list instance by name.
|
<K,V> RMapAsync<K,V> |
getMap(String name)
Returns map instance by name.
|
<V> RQueueAsync<V> |
getQueue(String name)
Returns queue instance by name.
|
RScriptAsync |
getScript()
Returns script operations object
|
<V> RSetAsync<V> |
getSet(String name)
Returns set instance by name.
|
<M> RTopicAsync<M> |
getTopic(String name)
Returns topic instance by name.
|
public RedissonBatch(ConnectionManager connectionManager)
public <V> RBucketAsync<V> getBucket(String name)
RBatch
public <V> RHyperLogLogAsync<V> getHyperLogLog(String name)
RBatch
getHyperLogLog
in interface RBatch
name
- of objectpublic <V> RListAsync<V> getList(String name)
RBatch
public <K,V> RMapAsync<K,V> getMap(String name)
RBatch
public <V> RSetAsync<V> getSet(String name)
RBatch
public <M> RTopicAsync<M> getTopic(String name)
RBatch
public <V> RQueueAsync<V> getQueue(String name)
RBatch
public <V> RBlockingQueueAsync<V> getBlockingQueue(String name)
RBatch
getBlockingQueue
in interface RBatch
name
- of queuepublic <V> RDequeAsync<V> getDequeAsync(String name)
RBatch
getDequeAsync
in interface RBatch
name
- of dequepublic RAtomicLongAsync getAtomicLongAsync(String name)
RBatch
getAtomicLongAsync
in interface RBatch
name
- of the "atomic long"public RScriptAsync getScript()
RBatch
public RKeysAsync getKeys()
RBatch
public List<?> execute()
RBatch
public io.netty.util.concurrent.Future<List<?>> executeAsync()
RBatch
executeAsync
in interface RBatch
Copyright © 2014–2015. All rights reserved.