class MqResource implements IMqResource {

	public void setUrls(List<String> urlsTempG1, List<String> urlsTempG2) {
		if (urlsTempG1 == null) {
			urlsTempG1 = new ArrayList<>();
		}
		if (urlsTempG2 == null) {
			urlsTempG2 = new ArrayList<>();
		}
		urlsG1.set(urlsTempG1);
		urlsG2.set(urlsTempG2);
		if (urlsTempG1.size() > 0) {
			int count = ((new BigDecimal(Math.random())).multiply(new BigDecimal(urlsTempG1.size()))).intValue();
			counterG1.set(count);
		}
		if (urlsTempG2.size() > 0) {
			int count = ((new BigDecimal(Math.random())).multiply(new BigDecimal(urlsTempG2.size()))).intValue();
			counterG2.set(count);
		}
		failUrlG1.clear();
		failUrlG2.clear();
	}

	public  MqResource(String url, long connectionTimeOut, long readTimeOut);
	public  MqResource(IHttpClient httpClient, String url);

}