class CachePerfStats {

  public void endNetload(long start) {
    if (clock.isEnabled()) {
      stats.incLong(netloadTimeId, getTime() - start);
    }
    stats.incInt(netloadsInProgressId, -1);
    stats.incInt(netloadsCompletedId, 1);
  }

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

}