@Override public int size() { return snapshot.size(); }
snapshot.size()));
@Override public int size() { return snap.size(); }
@Override public int size() { return snapshot.size(); }
@Override public int size() { return snapshot.size(); }
@Override public int size() { return this.snapshot.size(); }
public int size() { return s.size(); }
@Override public int size() { // This appears to be infrequently called, so not keeping a separate counter just for this. return getSnapshot().size(); }
@Override public long getCount() { return (long) getSnapshot().size(); } }
@Override public long getSnapshotSize() { return metric.getSnapshot().size(); } }
@Override public int size() { // This appears to be infrequently called, so not keeping a separate counter just for this. return getSnapshot().size(); }
@Override public long getCount() { return (long) getSnapshot().size(); } }
@Override public int size() { return getSnapshot().size(); }
@Override public int size() { // This appears to be infrequently called, so not keeping a separate counter just for this. return getSnapshot().size(); }
@Override public int size() { return getSnapshot().size(); }
@Override public int size() { return getSnapshot().size(); }
@Override public int size() { return getSnapshot().size(); }
/** * average amount of time for a method multiplied by the number of times called * * @return estimated load */ public double getLoad() { return timer.getSnapshot().size() * getMean(); }
private Comparable[] printFileSizeHistogram(String commitTime, Snapshot s) { return new Comparable[]{commitTime, s.getMin(), s.getValue(0.1), s.getMedian(), s.getMean(), s.get95thPercentile(), s.getMax(), s.size(), s.getStdDev()}; }
private void checkStatsRegisteredValues(int minExpectedValues, String...metricNames) { for (String metricName: metricNames) { Timer latencyValues = MetricRegistryUtils.getTimer(getTimerMetricName(metricName)); Assert.assertNotNull(latencyValues); Assert.assertTrue(minExpectedValues <= latencyValues.getSnapshot().size()); } }