RBucketsAsync
RedissonBuckets
public interface RBuckets extends RBucketsAsync
Modifier and Type | Method | Description |
---|---|---|
<V> Map<String,V> |
get(String... keys) |
Returns Redis object mapped by key.
|
void |
set(Map<String,?> buckets) |
Saves objects mapped by Redis key.
|
boolean |
trySet(Map<String,?> buckets) |
Try to save objects mapped by Redis key.
|
getAsync, setAsync, trySetAsync
<V> Map<String,V> get(String... keys)
V
- type of valuekeys
- - keysboolean trySet(Map<String,?> buckets)
buckets
- - map of bucketstrue
if object has been set overwise false
Copyright © 2014–2018 The Redisson Project. All rights reserved.