001package io.ebean.meta;
002
003/**
004 * Count metrics. For example L2 cache hits.
005 */
006public interface MetaCountMetric extends MetaMetric {
007
008  /**
009   * Return the total count.
010   */
011  long count();
012
013  /**
014   * Migrate to count()
015   */
016  @Deprecated
017  default long getCount() {
018    return count();
019  }
020}