From f6e7545c418dd38bfc503920cd6c6fe9c2722949 Mon Sep 17 00:00:00 2001 From: Nikita Date: Mon, 7 Dec 2015 16:36:25 +0300 Subject: [PATCH] few comments --- src/main/java/org/redisson/RedissonClient.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/java/org/redisson/RedissonClient.java b/src/main/java/org/redisson/RedissonClient.java index a2c018752..735620f92 100755 --- a/src/main/java/org/redisson/RedissonClient.java +++ b/src/main/java/org/redisson/RedissonClient.java @@ -52,8 +52,22 @@ import org.redisson.core.RTopic; */ public interface RedissonClient { + /** + * Returns map-based cache instance with eviction support by name + * using provided codec for both cache keys and values. + * + * @param name + * @param codec + * @return + */ RCache getCache(String name, Codec codec); + /** + * Returns map-based cache instance with eviction support by name. + * + * @param name + * @return + */ RCache getCache(String name); /**