|
|
|
@ -330,6 +330,20 @@ public class RedissonBatchReactive implements RBatchReactive {
|
|
|
|
|
new RedissonSetMultimapReactive<K, V>(codec, executorService, name, null), RSetMultimapReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <K, V> RSetMultimapCacheReactive<K, V> getSetMultimapCache(String name) {
|
|
|
|
|
RSetMultimap<K, V> map = new RedissonSetMultimapCache<>(evictionScheduler, executorService, name);
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, map,
|
|
|
|
|
new RedissonSetMultimapCacheReactive<>(map, executorService, null), RSetMultimapCacheReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <K, V> RSetMultimapCacheReactive<K, V> getSetMultimapCache(String name, Codec codec) {
|
|
|
|
|
RSetMultimap<K, V> map = new RedissonSetMultimapCache<>(evictionScheduler, codec, executorService, name);
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, map,
|
|
|
|
|
new RedissonSetMultimapCacheReactive<>(map, executorService, null), RSetMultimapCacheReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <K, V> RListMultimapReactive<K, V> getListMultimap(String name) {
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, new RedissonListMultimap<K, V>(executorService, name),
|
|
|
|
@ -342,6 +356,20 @@ public class RedissonBatchReactive implements RBatchReactive {
|
|
|
|
|
new RedissonListMultimapReactive<K, V>(codec, executorService, name), RListMultimapReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <K, V> RListMultimapReactive<K, V> getListMultimapCache(String name) {
|
|
|
|
|
RListMultimap<K, V> map = new RedissonListMultimapCache<>(evictionScheduler, executorService, name);
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, map,
|
|
|
|
|
new RedissonListMultimapCacheReactive<>(map, executorService), RListMultimapReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <K, V> RListMultimapReactive<K, V> getListMultimapCache(String name, Codec codec) {
|
|
|
|
|
RListMultimap<K, V> map = new RedissonListMultimapCache<>(evictionScheduler, codec, executorService, name);
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, map,
|
|
|
|
|
new RedissonListMultimapCacheReactive<>(map, executorService), RListMultimapReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public RAtomicDoubleReactive getAtomicDouble(String name) {
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, new RedissonAtomicDouble(executorService, name), RAtomicDoubleReactive.class);
|
|
|
|
|