Package org.apache.jackrabbit.oak.stats
Class DefaultStatisticsProvider
- java.lang.Object
-
- org.apache.jackrabbit.oak.stats.DefaultStatisticsProvider
-
- All Implemented Interfaces:
StatisticsProvider
public final class DefaultStatisticsProvider extends java.lang.Object implements StatisticsProvider
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.stats.StatisticsProvider
NOOP
-
-
Constructor Summary
Constructors Constructor Description DefaultStatisticsProvider(java.util.concurrent.ScheduledExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CounterStats
getCounterStats(java.lang.String name, StatsOptions options)
HistogramStats
getHistogram(java.lang.String name, StatsOptions options)
MeterStats
getMeter(java.lang.String name, StatsOptions options)
RepositoryStatistics
getStats()
TimerStats
getTimer(java.lang.String name, StatsOptions options)
-
-
-
Method Detail
-
getStats
public RepositoryStatistics getStats()
- Specified by:
getStats
in interfaceStatisticsProvider
-
getMeter
public MeterStats getMeter(java.lang.String name, StatsOptions options)
- Specified by:
getMeter
in interfaceStatisticsProvider
-
getCounterStats
public CounterStats getCounterStats(java.lang.String name, StatsOptions options)
- Specified by:
getCounterStats
in interfaceStatisticsProvider
-
getTimer
public TimerStats getTimer(java.lang.String name, StatsOptions options)
- Specified by:
getTimer
in interfaceStatisticsProvider
-
getHistogram
public HistogramStats getHistogram(java.lang.String name, StatsOptions options)
- Specified by:
getHistogram
in interfaceStatisticsProvider
-
-