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

rocks.inspectit.agent.java.sdk.opentracing.Timer Maven / Gradle / Ivy

Go to download

Library to enrich the functionality of Java applications which use the inspectIT agent for monitoring and collection of runtime data.

The newest version!
package rocks.inspectit.agent.java.sdk.opentracing;

/**
 * Timer interface for measuring.
 *
 * @author Ivan Senic
 *
 */
public interface Timer {

	/**
	 * Returns current time in microseconds (microseconds since epoch).
	 *
	 * @return Returns current time in microseconds (microseconds since epoch).
	 */
	long getCurrentTimeMicroseconds();

	/**
	 * Returns the current nano time. Simple implementation can use
	 * {@link java.lang.System#nanoTime()}.
	 *
	 * @return Returns the current nano time.
	 */
	long getCurrentNanoTime();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy