public static Builder builder(String name) {
    return new Builder(name);
  }
Returns a builder that can associate a pair of stats with the eventual {@code
LegacyStatTimer}. To associate the timer's count with a stat, call one of
{@link Builder#doubleCountStatistic(Statistics, int)} or
{@link Builder#longCountStatistic(Statistics, int)}. To associate the
timer's total time with a stat, call one of
{@link Builder#doubleTimeStatistic(Statistics, int)} or
{@link Builder#longTimeStatistic(Statistics, int)}.
geode-core/src/main/java/org/apache/geode/internal/statistics/meters/LegacyStatTimer.java