Class ExtraMetrics

java.lang.Object
io.ebeaninternal.api.ExtraMetrics

public final class ExtraMetrics extends Object
Extra metrics collected to measure internal behaviour.
  • Constructor Details

    • ExtraMetrics

      public ExtraMetrics()
      Create the extra metrics.
  • Method Details

    • bindCapture

      public TimedMetric bindCapture()
      Timed metric for bind capture used with query plan collection.
    • planCollect

      public 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(MetricVisitor visitor)
      Collect the metrics.