Ability to extends Redisson instances

2.2.x
Nikita 9 years ago
parent 1bb79989dc
commit e861bde86a

@ -86,14 +86,14 @@ import io.netty.util.concurrent.Future;
*/
public class Redisson implements RedissonClient {
private final EvictionScheduler evictionScheduler;
private final CommandExecutor commandExecutor;
private final ConnectionManager connectionManager;
private final Config config;
protected final EvictionScheduler evictionScheduler;
protected final CommandExecutor commandExecutor;
protected final ConnectionManager connectionManager;
protected final Config config;
private final UUID id = UUID.randomUUID();
protected final UUID id = UUID.randomUUID();
Redisson(Config config) {
protected Redisson(Config config) {
this.config = config;
Config configCopy = new Config(config);

@ -82,12 +82,12 @@ import io.netty.util.concurrent.Future;
*/
public class RedissonReactive implements RedissonReactiveClient {
private final EvictionScheduler evictionScheduler;
private final CommandReactiveService commandExecutor;
private final ConnectionManager connectionManager;
private final Config config;
protected final EvictionScheduler evictionScheduler;
protected final CommandReactiveService commandExecutor;
protected final ConnectionManager connectionManager;
protected final Config config;
RedissonReactive(Config config) {
protected RedissonReactive(Config config) {
this.config = config;
Config configCopy = new Config(config);
if (configCopy.getMasterSlaveServersConfig() != null) {

Loading…
Cancel
Save