Package org.redisson.api
Interface RBuckets
- All Superinterfaces:
RBucketsAsync
- All Known Implementing Classes:
RedissonBuckets
,RedissonTransactionalBuckets
Operations over multiple Bucket objects.
- Author:
- Nikita Koksharov
-
Method Summary
Methods inherited from interface org.redisson.api.RBucketsAsync
getAsync, setAsync, trySetAsync
-
Method Details
-
get
Returns Redis object mapped by key. Result Map is not contains key-value entry for null values.- Type Parameters:
V
- type of value- Parameters:
keys
- - keys- Returns:
- Map with name of bucket as key and bucket as value
-
trySet
Try to save objects mapped by Redis key. If at least one of them is already exist then don't set none of them.- Parameters:
buckets
- - map of buckets- Returns:
true
if object has been set overwisefalse
-
set
Saves objects mapped by Redis key.- Parameters:
buckets
- - map of buckets
-