001package io.ebean.meta;
002
003import java.util.List;
004
005/**
006 * Metrics of the Database instance.
007 */
008public interface ServerMetrics {
009
010  /**
011   * Return timed metrics for Transactions, labelled SqlQuery, labelled SqlUpdate.
012   */
013  List<MetaTimedMetric> getTimedMetrics();
014
015  /**
016   * Return the query metrics.
017   */
018  List<MetaQueryMetric> getQueryMetrics();
019
020  /**
021   * Return the Counter metrics.
022   */
023  List<MetaCountMetric> getCountMetrics();
024
025}