Map<String,Object> config = getConfig(configConn, "redis", component);
if (!config.equals(oldConfig)){
Jedis conn = new Jedis("localhost");
if (config.containsKey("db")){
conn.select(((Double)config.get("db")).intValue());
}
REDIS_CONNECTIONS.put(key, conn);
}
return REDIS_CONNECTIONS.get(key);