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); /**