|
|
|
@ -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
|
|
|
|
|
*/
|
|
|
|
|
<K, V> RCache<K, V> getCache(String name, Codec codec);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns map-based cache instance with eviction support by name.
|
|
|
|
|
*
|
|
|
|
|
* @param name
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
<K, V> RCache<K, V> getCache(String name);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|