All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.distributeme.test.roundrobinwithfotonext.client.RandomIdClient Maven / Gradle / Ivy

package org.distributeme.test.roundrobinwithfotonext.client;

import net.anotheria.anoprise.metafactory.Extension;
import net.anotheria.anoprise.metafactory.MetaFactory;
import org.distributeme.test.roundrobinwithfotonext.RoundRobinService;

import java.util.HashMap;
import java.util.Map;

public class RandomIdClient extends Client{
	public static void main(String a[]) throws Exception{
		RoundRobinService service = MetaFactory.create(RoundRobinService.class, Extension.REMOTE);

		long start = System.currentTimeMillis();
		int errors = 0 ; int replies = 0;
		int LIMIT = 100;
		Map replyMap = new HashMap();
		for (int i = 0; i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy