Fixed - RLocalCachedMap is not Redis cluster compatible

pull/766/head
Nikita 8 years ago
parent 53f98a3e70
commit 18f37017b5

@ -216,7 +216,7 @@ public class RedissonLocalCachedMap<K, V> extends RedissonMap<K, V> implements R
cache = new LFUCacheMap<CacheKey, CacheValue>(options.getCacheSize(), options.getTimeToLiveInMillis(), options.getMaxIdleInMillis());
}
invalidationTopic = new RedissonTopic<Object>(commandExecutor, name + ":topic");
invalidationTopic = new RedissonTopic<Object>(commandExecutor, suffixName(name, "topic"));
if (options.isInvalidateEntryOnChange()) {
invalidationListenerId = invalidationTopic.addListener(new MessageListener<Object>() {
@Override

Loading…
Cancel
Save