Package org.springframework.data.redis.connection

Examples of org.springframework.data.redis.connection.RedisSentinelConfiguration.master()


        return this.sentinelConfiguration;
      }
      Sentinel sentinelProperties = this.properties.getSentinel();
      if (sentinelProperties != null) {
        RedisSentinelConfiguration config = new RedisSentinelConfiguration();
        config.master(sentinelProperties.getMaster());
        config.setSentinels(createSentinels(sentinelProperties));
        return config;
      }
      return null;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.