thrownewRedisConnectionException("Can't connect to server "+config.getMasterAddress());
thrownewRedisConnectionException("Can't connect to server "+config.getMasterAddress()+" due to connection timeout ("+config.getConnectTimeout()+" ms) has reached!",f.cause());
thrownewRedisConnectionException("Can't connect to slave server due to connection timeout ("+config.getConnectTimeout()+" ms) has reached!",future.cause());
thrownewRedisConnectionException("Can't connect to server "+config.getMasterAddress());
}
fs.add(f);
for(Future<Void>future:fs){
future.syncUninterruptibly();
thrownewRedisConnectionException("Can't connect to server "+config.getMasterAddress()+" due to connection timeout ("+config.getConnectTimeout()+" ms) has reached!",f.cause());