|
|
|
@ -18,6 +18,7 @@ package org.redisson.reactive;
|
|
|
|
|
import org.redisson.*;
|
|
|
|
|
import org.redisson.api.*;
|
|
|
|
|
import org.redisson.client.codec.Codec;
|
|
|
|
|
import org.redisson.codec.JsonCodec;
|
|
|
|
|
import org.redisson.connection.ConnectionManager;
|
|
|
|
|
import org.redisson.eviction.EvictionScheduler;
|
|
|
|
|
import reactor.core.publisher.Mono;
|
|
|
|
@ -59,6 +60,11 @@ public class RedissonBatchReactive implements RBatchReactive {
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, new RedissonBucket<V>(codec, executorService, name), RBucketReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <V> RJsonBucketReactive<V> getJsonBucket(String name, JsonCodec<V> codec) {
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, new RedissonJsonBucket<>(codec, executorService, name), RJsonBucketReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <V> RHyperLogLogReactive<V> getHyperLogLog(String name) {
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, new RedissonHyperLogLog<V>(executorService, name), RHyperLogLogReactive.class);
|
|
|
|
|