Package org.springframework.data.redis.connection

Examples of org.springframework.data.redis.connection.RedisNode$RedisNodeBuilder


      String nodes = sentinel.getNodes();
      for (String node : StringUtils.commaDelimitedListToStringArray(nodes)) {
        try {
          String[] parts = StringUtils.split(node, ":");
          Assert.state(parts.length == 2, "Must be defined as 'host:port'");
          sentinels.add(new RedisNode(parts[0], Integer.valueOf(parts[1])));
        }
        catch (RuntimeException ex) {
          throw new IllegalStateException("Invalid redis sentinel "
              + "property '" + node + "'", ex);
        }
View Full Code Here

TOP

Related Classes of org.springframework.data.redis.connection.RedisNode$RedisNodeBuilder

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.