io.ebeaninternal.server.profile.TimedProfileLocation Maven / Gradle / Ivy
package io.ebeaninternal.server.profile;
import io.ebean.ProfileLocation;
import io.ebean.meta.MetricVisitor;
import io.ebean.metric.TimedMetric;
/**
* ProfileLocation that collects timing metrics.
*/
public interface TimedProfileLocation extends ProfileLocation {
/**
* Return the label.
*/
String getLabel();
/**
* Return the metric.
*/
TimedMetric getMetric();
/**
* Visit the non empty metrics.
*/
void visit(MetricVisitor visitor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy