public class RedissonTransactionalBuckets extends RedissonBuckets
codec, commandExecutor| Constructor and Description |
|---|
RedissonTransactionalBuckets(Codec codec,
CommandAsyncExecutor commandExecutor,
long timeout,
List<TransactionalOperation> operations,
AtomicBoolean executed,
String transactionId) |
RedissonTransactionalBuckets(CommandAsyncExecutor commandExecutor,
long timeout,
List<TransactionalOperation> operations,
AtomicBoolean executed,
String transactionId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkState() |
protected <R> void |
executeLocked(RPromise<R> promise,
Runnable runnable,
Collection<String> keys) |
<V> RFuture<Map<String,V>> |
getAsync(String... keys)
Returns Redis object mapped by key.
|
RFuture<Void> |
setAsync(Map<String,?> buckets)
Saves objects mapped by Redis key.
|
RFuture<Boolean> |
trySetAsync(Map<String,?> buckets)
Try to save objects mapped by Redis key.
|
get, set, trySetpublic RedissonTransactionalBuckets(CommandAsyncExecutor commandExecutor, long timeout, List<TransactionalOperation> operations, AtomicBoolean executed, String transactionId)
public RedissonTransactionalBuckets(Codec codec, CommandAsyncExecutor commandExecutor, long timeout, List<TransactionalOperation> operations, AtomicBoolean executed, String transactionId)
public <V> RFuture<Map<String,V>> getAsync(String... keys)
RBucketsAsyncgetAsync in interface RBucketsAsyncgetAsync in class RedissonBucketsV - type of valuekeys - - keyspublic RFuture<Void> setAsync(Map<String,?> buckets)
RBucketsAsyncsetAsync in interface RBucketsAsyncsetAsync in class RedissonBucketsbuckets - - map of bucketspublic RFuture<Boolean> trySetAsync(Map<String,?> buckets)
RBucketsAsynctrySetAsync in interface RBucketsAsynctrySetAsync in class RedissonBucketsbuckets - - map of bucketstrue if object has been set otherwise falseprotected <R> void executeLocked(RPromise<R> promise, Runnable runnable, Collection<String> keys)
protected void checkState()
Copyright © 2014–2020 Redisson. All rights reserved.