Package io.ebean.metric
Interface TimedMetricMap
-
public interface TimedMetricMap
A map of timed metrics keyed by a string.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(String key, long exeMicros)
Add an execution for the given key.void
addSinceNanos(String key, long startNanos)
Add a time event given the start nanos.void
visit(MetricVisitor visitor)
Visit the metric.
-
-
-
Method Detail
-
addSinceNanos
void addSinceNanos(String key, long startNanos)
Add a time event given the start nanos.
-
visit
void visit(MetricVisitor visitor)
Visit the metric.
-
-