Package io.ebean.metric
Interface CountMetric
public interface CountMetric
Metric for timed events like transaction execution times.
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(long micros) Add to the counter.longget(boolean reset) Return the count value.voidIncrement the counter by 1.booleanisEmpty()Return true if there are no metrics collected since the last collection.voidreset()Reset the statistics.voidvisit(MetricVisitor visitor) Visit non empty metrics.