Class RedisClusterURIUtil

    • Method Detail

      • toRedisURIs

        public static List<RedisURI> toRedisURIs​(URI uri)
        Parse a Redis Cluster URI with potentially multiple hosts into a List of RedisURI. An URI follows the syntax: redis://[password@]host[:port][,host2[:port2]]
        Parameters:
        uri - must not be empty or null.
        Returns:
        List of RedisURI.