public RepositoryStatisticsImpl() {
getOrCreateRecorder(Type.SESSION_COUNT);
getOrCreateRecorder(Type.SESSION_LOGIN_COUNTER);
TimeSeries src = getOrCreateRecorder(Type.SESSION_READ_COUNTER);
TimeSeries srd = getOrCreateRecorder(Type.SESSION_READ_DURATION);
avg.put(Type.SESSION_READ_AVERAGE, new TimeSeriesAverage(srd, src));
TimeSeries swc = getOrCreateRecorder(Type.SESSION_WRITE_COUNTER);
TimeSeries swd = getOrCreateRecorder(Type.SESSION_WRITE_DURATION);
avg.put(Type.SESSION_WRITE_AVERAGE, new TimeSeriesAverage(swd, swc));
TimeSeries brc = getOrCreateRecorder(Type.BUNDLE_READ_COUNTER);
TimeSeries brd = getOrCreateRecorder(Type.BUNDLE_READ_DURATION);
avg.put(Type.BUNDLE_READ_AVERAGE, new TimeSeriesAverage(brd, brc));
TimeSeries bwc = getOrCreateRecorder(Type.BUNDLE_WRITE_COUNTER);
TimeSeries bwd = getOrCreateRecorder(Type.BUNDLE_WRITE_DURATION);
avg.put(Type.BUNDLE_WRITE_AVERAGE, new TimeSeriesAverage(bwd, bwc));
}