Settings#getQueryCacheFactory was deleted. Settings, overall, has been deprecated - but we should not have removed the method until we remove the whole class.