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

org.avaje.metric.RequestTimingEntry Maven / Gradle / Ivy

The newest version!
package org.avaje.metric;

/**
 * A timing point entry when collecting nested context timing.
 */
public interface RequestTimingEntry extends Comparable {

  /**
   * Return the metric this entry is from.
   */
  AbstractTimedMetric getMetric();

  /**
   * Returns the depth of the entry.
   */
  int getDepth();

  /**
   * Returns the start nanos value for the entry.
   */
  long getStartNanos();

  /**
   * Returns the end nanos value for the entry.
   */
  long getEndNanos();

  /**
   * Return the execution time in nanos for the entry.
   */
  long getExecutionNanos();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy