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

org.headlessintrace.client.DefaultConfig Maven / Gradle / Ivy

Go to download

A headless java API that collects events from other JVMs. Events=method invocations. Initial code taken from http://mchr3k.github.io/org.intrace/. Intended for building diagnostic applications.

There is a newer version: 0.0.4
Show newest version
package org.headlessintrace.client;

public class DefaultConfig implements Config {

	@Override
	public int getFixedMessageCount() {
		return 2000;
	}
	
	/**
	 * If the network doesn't respond in 5 seconds, there is a problem.
	 * Possible problems:
	 * 	The intrace agent isn't listening on the specified port
	 * The specified port is blocked by a firewall
	 * The host name is wrong
	 * The port number is wrong.
	 */
	@Override
	public long getConnectWaitMs() {
		return 60*1000;//60 seconds...enough to debug past the connection timeout
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy