class CachePerfStats {

  public void endLoad(long start) {
    // note that load times are used in health checks and
    // should not be disabled by enableClockStats==false
    long ts = NanoTimer.getTime(); // don't use getStatTime so always enabled
    stats.incLong(loadTimeId, ts - start);
    stats.incInt(loadsInProgressId, -1);
    stats.incInt(loadsCompletedId, 1);
  }

  public  CachePerfStats(StatisticsFactory factory, StatisticsClock clock);
  public  CachePerfStats(StatisticsFactory factory, String textId, StatisticsClock clock);

}