Class ExtraMetrics
java.lang.Object
io.ebeaninternal.api.ExtraMetrics
Extra metrics collected to measure internal behaviour.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.ebean.metric.TimedMetricTimed metric for bind capture used with query plan collection.voidIncrement counter for lazy loading one bean from L2 cache.voidIncrement counter for lazy loading one bean due to no loader.voidIncrement counter for lazy loading on reference bean.io.ebean.metric.TimedMetricTimed metric for query plan collection.voidvisitMetrics(io.ebean.meta.MetricVisitor visitor) Collect the metrics.
-
Constructor Details
-
ExtraMetrics
public ExtraMetrics()Create the extra metrics.
-
-
Method Details
-
bindCapture
public io.ebean.metric.TimedMetric bindCapture()Timed metric for bind capture used with query plan collection. -
planCollect
public io.ebean.metric.TimedMetric planCollect()Timed metric for query plan collection. -
incrementLoadOneL2
public void incrementLoadOneL2()Increment counter for lazy loading one bean from L2 cache. All good when lazy loading also hits L2 cache. -
incrementLoadOneRef
public void incrementLoadOneRef()Increment counter for lazy loading on reference bean. We ought to be able to avoid this by changing to a tuned query. -
incrementLoadOneNoLoader
public void incrementLoadOneNoLoader()Increment counter for lazy loading one bean due to no loader. Likely due to multiple stateless updates or serialisation. -
visitMetrics
public void visitMetrics(io.ebean.meta.MetricVisitor visitor) Collect the metrics.
-