| Constructor and Description | 
|---|
RedisConnectionUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
static io.lettuce.core.api.StatefulConnection | 
findRedisConnection(BeanLocator beanLocator,
                   Optional<String> serverName,
                   String errorMessage)
Utility method for establishing a redis connection. 
 | 
public static io.lettuce.core.api.StatefulConnection findRedisConnection(BeanLocator beanLocator, Optional<String> serverName, String errorMessage)
beanLocator - The bean locator to useserverName - The server name to useerrorMessage - The error message to use if the connection can't be foundConfigurationException - If the connection cannot be found