Package org.springframework.boot.autoconfigure.redis.RedisProperties

Examples of org.springframework.boot.autoconfigure.redis.RedisProperties.Sentinel


    protected final RedisSentinelConfiguration getSentinelConfig() {
      if (this.sentinelConfiguration != null) {
        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

Related Classes of org.springframework.boot.autoconfigure.redis.RedisProperties.Sentinel

Copyright © 2018 www.massapicom. 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.