|
|
|
@ -143,16 +143,16 @@ public class RedissonRx implements RedissonRxClient {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <K, V> RMapCacheRx<K, V> getMapCache(String name, Codec codec) {
|
|
|
|
|
RedissonMapCache<K, V> map = new RedissonMapCache<K, V>(codec, evictionScheduler, commandExecutor, name, null, null, null);
|
|
|
|
|
RMap<K, V> map = new RedissonMapCache<K, V>(codec, evictionScheduler, commandExecutor, name, null, null, null);
|
|
|
|
|
return RxProxyBuilder.create(commandExecutor, map,
|
|
|
|
|
new RedissonMapCacheRx<K, V>(map), RMapCacheRx.class);
|
|
|
|
|
new RedissonMapCacheRx<K, V>(map, commandExecutor), RMapCacheRx.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <K, V> RMapCacheRx<K, V> getMapCache(String name) {
|
|
|
|
|
RedissonMapCache<K, V> map = new RedissonMapCache<K, V>(evictionScheduler, commandExecutor, name, null, null, null);
|
|
|
|
|
return RxProxyBuilder.create(commandExecutor, map,
|
|
|
|
|
new RedissonMapCacheRx<K, V>(map), RMapCacheRx.class);
|
|
|
|
|
new RedissonMapCacheRx<K, V>(map, commandExecutor), RMapCacheRx.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@ -264,14 +264,14 @@ public class RedissonRx implements RedissonRxClient {
|
|
|
|
|
public <K, V> RMapRx<K, V> getMap(String name) {
|
|
|
|
|
RedissonMap<K, V> map = new RedissonMap<K, V>(commandExecutor, name, null, null, null);
|
|
|
|
|
return RxProxyBuilder.create(commandExecutor, map,
|
|
|
|
|
new RedissonMapRx<K, V>(map, this), RMapRx.class);
|
|
|
|
|
new RedissonMapRx<K, V>(map, commandExecutor), RMapRx.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <K, V> RMapRx<K, V> getMap(String name, Codec codec) {
|
|
|
|
|
RedissonMap<K, V> map = new RedissonMap<K, V>(codec, commandExecutor, name, null, null, null);
|
|
|
|
|
return RxProxyBuilder.create(commandExecutor, map,
|
|
|
|
|
new RedissonMapRx<K, V>(map, this), RMapRx.class);
|
|
|
|
|
new RedissonMapRx<K, V>(map, commandExecutor), RMapRx.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@ -528,30 +528,30 @@ public class RedissonRx implements RedissonRxClient {
|
|
|
|
|
public <K, V> RMapCacheRx<K, V> getMapCache(String name, Codec codec, MapOptions<K, V> options) {
|
|
|
|
|
RedissonMapCache<K, V> map = new RedissonMapCache<K, V>(codec, evictionScheduler, commandExecutor, name, null, options, writeBehindService);
|
|
|
|
|
return RxProxyBuilder.create(commandExecutor, map,
|
|
|
|
|
new RedissonMapCacheRx<K, V>(map), RMapCacheRx.class);
|
|
|
|
|
new RedissonMapCacheRx<K, V>(map, commandExecutor), RMapCacheRx.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <K, V> RMapCacheRx<K, V> getMapCache(String name, MapOptions<K, V> options) {
|
|
|
|
|
RedissonMapCache<K, V> map = new RedissonMapCache<K, V>(evictionScheduler, commandExecutor, name, null, options, writeBehindService);
|
|
|
|
|
RMap<K, V> map = new RedissonMapCache<K, V>(evictionScheduler, commandExecutor, name, null, options, writeBehindService);
|
|
|
|
|
return RxProxyBuilder.create(commandExecutor, map,
|
|
|
|
|
new RedissonMapCacheRx<K, V>(map), RMapCacheRx.class);
|
|
|
|
|
new RedissonMapCacheRx<K, V>(map, commandExecutor), RMapCacheRx.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <K, V> RMapRx<K, V> getMap(String name, MapOptions<K, V> options) {
|
|
|
|
|
RedissonMap<K, V> map = new RedissonMap<K, V>(commandExecutor, name, null, options, writeBehindService);
|
|
|
|
|
RMap<K, V> map = new RedissonMap<K, V>(commandExecutor, name, null, options, writeBehindService);
|
|
|
|
|
return RxProxyBuilder.create(commandExecutor, map,
|
|
|
|
|
new RedissonMapRx<K, V>(map, this), RMapRx.class);
|
|
|
|
|
new RedissonMapRx<K, V>(map, commandExecutor), RMapRx.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <K, V> RMapRx<K, V> getMap(String name, Codec codec, MapOptions<K, V> options) {
|
|
|
|
|
RedissonMap<K, V> map = new RedissonMap<K, V>(codec, commandExecutor, name, null, options, writeBehindService);
|
|
|
|
|
RMap<K, V> map = new RedissonMap<K, V>(codec, commandExecutor, name, null, options, writeBehindService);
|
|
|
|
|
return RxProxyBuilder.create(commandExecutor, map,
|
|
|
|
|
new RedissonMapRx<K, V>(map, this), RMapRx.class);
|
|
|
|
|
new RedissonMapRx<K, V>(map, commandExecutor), RMapRx.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|