Interface RJsonBucketsAsync

All Known Subinterfaces:
RJsonBuckets
All Known Implementing Classes:
RedissonJsonBuckets

public interface RJsonBucketsAsync
  • Method Details

    • getAsync

      <V> RFuture<Map<String,V>> getAsync(String... keys)
      Returns Redis json object mapped by key with default path
      Type Parameters:
      V - type of object with specific json-path
      Parameters:
      keys - keys
      Returns:
      Map with name as key and bucket as value
    • getAsync

      <V> RFuture<Map<String,V>> getAsync(JsonCodec codec, String path, String... keys)
      Returns Redis json object mapped by key with specific path
      Type Parameters:
      V - type of value at specific json-path
      Parameters:
      codec - codec for specific path
      path - json path
      keys - keys
      Returns:
      Map with name as key and bucket as value
    • setAsync

      RFuture<Void> setAsync(Map<String,?> buckets)
      Saves json objects with default path mapped by Redis key.
      Parameters:
      buckets - map of json buckets
    • setAsync

      RFuture<Void> setAsync(JsonCodec codec, String path, Map<String,?> buckets)
      Saves json objects with specific path mapped by Redis key.
      Parameters:
      codec - codec for specific path
      path - json path
      buckets - map of json buckets