001package io.ebean.metric;
002
003import io.ebean.meta.MetricVisitor;
004
005/**
006 * Internal Query plan metric holder.
007 */
008public interface QueryPlanMetric {
009
010  /**
011   * Return the underlying timed metric.
012   */
013  TimedMetric getMetric();
014
015  /**
016   * Visit the underlying metric.
017   */
018  void visit(MetricVisitor visitor);
019}