use of org.apache.jackrabbit.oak.stats.HistogramStats in project jackrabbit-oak by apache.
the class MetricStatisticsProviderTest method histogram.
@Test
public void histogram() throws Exception {
HistogramStats histoStats = statsProvider.getHistogram("test", StatsOptions.DEFAULT);
assertNotNull(histoStats);
assertNotNull(statsProvider.getRegistry().getHistograms().containsKey("test"));
assertTrue(((CompositeStats) histoStats).isHistogram());
}
Aggregations