|
|
|
@ -40,6 +40,7 @@ import org.redisson.RedissonSet;
|
|
|
|
|
import org.redisson.RedissonSetCache;
|
|
|
|
|
import org.redisson.RedissonSetMultimap;
|
|
|
|
|
import org.redisson.RedissonStream;
|
|
|
|
|
import org.redisson.RedissonTopic;
|
|
|
|
|
import org.redisson.api.BatchOptions;
|
|
|
|
|
import org.redisson.api.BatchResult;
|
|
|
|
|
import org.redisson.api.RAtomicDoubleReactive;
|
|
|
|
@ -180,12 +181,12 @@ public class RedissonBatchReactive implements RBatchReactive {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <M> RTopicReactive<M> getTopic(String name) {
|
|
|
|
|
return new RedissonTopicReactive<M>(executorService, name);
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, new RedissonTopic<M>(executorService, name), RTopicReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <M> RTopicReactive<M> getTopic(String name, Codec codec) {
|
|
|
|
|
return new RedissonTopicReactive<M>(codec, executorService, name);
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, new RedissonTopic<M>(codec, executorService, name), RTopicReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@ -213,19 +214,19 @@ public class RedissonBatchReactive implements RBatchReactive {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <V> RDequeReactive<V> getDequeReactive(String name) {
|
|
|
|
|
public <V> RDequeReactive<V> getDeque(String name) {
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, new RedissonDeque<V>(executorService, name, null),
|
|
|
|
|
new RedissonListReactive<V>(executorService, name), RDequeReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <V> RDequeReactive<V> getDequeReactive(String name, Codec codec) {
|
|
|
|
|
public <V> RDequeReactive<V> getDeque(String name, Codec codec) {
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, new RedissonDeque<V>(codec, executorService, name, null),
|
|
|
|
|
new RedissonListReactive<V>(codec, executorService, name), RDequeReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public RAtomicLongReactive getAtomicLongReactive(String name) {
|
|
|
|
|
public RAtomicLongReactive getAtomicLong(String name) {
|
|
|
|
|
return ReactiveProxyBuilder.create(executorService, new RedissonAtomicLong(executorService, name), RAtomicLongReactive.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|