test_class.declarator: executorService = Executors.newSingleThreadScheduledExecutor()
test_class.modifier: private
test_class.original_string: private ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor();
test_class.type: ScheduledExecutorService
test_class.var_name: executorService
test_class.declarator: statsProvider = new DefaultStatisticsProvider(executorService)
test_class.modifier: private
test_class.original_string: private DefaultStatisticsProvider statsProvider = new DefaultStatisticsProvider(executorService);
test_class.type: DefaultStatisticsProvider
test_class.var_name: statsProvider
test_class.file: oak-core-spi/src/test/java/org/apache/jackrabbit/oak/stats/DefaultStatisticsProviderTest.java
test_class.identifier: DefaultStatisticsProviderTest
test_case.body: @Test
      public void meter() throws Exception {
          MeterStats meterStats = statsProvider.getMeter("test", StatsOptions.DEFAULT);
  
          assertNotNull(meterStats);
          meterStats.mark();
          assertEquals(1, statsImpl(statsProvider).getCounter("test", true).get());
          assertTrue(getRegisteredTimeSeries(statsProvider).contains("test"));
      }
test_case.class_method_signature: DefaultStatisticsProviderTest.meter()
test_case.full_signature: @Test public void meter()
test_case.identifier: meter
test_case.invocations: getMeter assertNotNull mark assertEquals get getCounter statsImpl assertTrue contains getRegisteredTimeSeries
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void meter()
focal_class.declarator: repoStats
focal_class.modifier: private final
focal_class.original_string: private final RepositoryStatisticsImpl repoStats;
focal_class.type: RepositoryStatisticsImpl
focal_class.var_name: repoStats
focal_class.declarator: statsMeters = Maps.newHashMap()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, SimpleStats> statsMeters = Maps.newHashMap();
focal_class.type: Map<String, SimpleStats>
focal_class.var_name: statsMeters
focal_class.file: oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/DefaultStatisticsProvider.java
focal_class.identifier: DefaultStatisticsProvider
focal_class.interfaces: implements StatisticsProvider
focal_class.class_method_signature: DefaultStatisticsProvider.DefaultStatisticsProvider(ScheduledExecutorService executor)
focal_class.full_signature: public  DefaultStatisticsProvider(ScheduledExecutorService executor)
focal_class.identifier: DefaultStatisticsProvider
focal_class.modifiers: public
focal_class.parameters: (ScheduledExecutorService executor)
focal_class.signature:  DefaultStatisticsProvider(ScheduledExecutorService executor)
focal_class.class_method_signature: DefaultStatisticsProvider.getStats()
focal_class.full_signature: @Override public RepositoryStatistics getStats()
focal_class.identifier: getStats
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: RepositoryStatistics
focal_class.signature: RepositoryStatistics getStats()
focal_class.class_method_signature: DefaultStatisticsProvider.getMeter(String name, StatsOptions options)
focal_class.full_signature: @Override public MeterStats getMeter(String name, StatsOptions options)
focal_class.identifier: getMeter
focal_class.modifiers: @Override public
focal_class.parameters: (String name, StatsOptions options)
focal_class.return: MeterStats
focal_class.signature: MeterStats getMeter(String name, StatsOptions options)
focal_class.class_method_signature: DefaultStatisticsProvider.getCounterStats(String name, StatsOptions options)
focal_class.full_signature: @Override public CounterStats getCounterStats(String name, StatsOptions options)
focal_class.identifier: getCounterStats
focal_class.modifiers: @Override public
focal_class.parameters: (String name, StatsOptions options)
focal_class.return: CounterStats
focal_class.signature: CounterStats getCounterStats(String name, StatsOptions options)
focal_class.class_method_signature: DefaultStatisticsProvider.getTimer(String name, StatsOptions options)
focal_class.full_signature: @Override public TimerStats getTimer(String name, StatsOptions options)
focal_class.identifier: getTimer
focal_class.modifiers: @Override public
focal_class.parameters: (String name, StatsOptions options)
focal_class.return: TimerStats
focal_class.signature: TimerStats getTimer(String name, StatsOptions options)
focal_class.class_method_signature: DefaultStatisticsProvider.getHistogram(String name, StatsOptions options)
focal_class.full_signature: @Override public HistogramStats getHistogram(String name, StatsOptions options)
focal_class.identifier: getHistogram
focal_class.modifiers: @Override public
focal_class.parameters: (String name, StatsOptions options)
focal_class.return: HistogramStats
focal_class.signature: HistogramStats getHistogram(String name, StatsOptions options)
focal_class.class_method_signature: DefaultStatisticsProvider.getStats(String type, boolean resetValueEachSecond, SimpleStats.Type statsType,
                                                StatsOptions options)
focal_class.full_signature: private synchronized SimpleStats getStats(String type, boolean resetValueEachSecond, SimpleStats.Type statsType,
                                                StatsOptions options)
focal_class.identifier: getStats
focal_class.modifiers: private synchronized
focal_class.parameters: (String type, boolean resetValueEachSecond, SimpleStats.Type statsType,
                                                StatsOptions options)
focal_class.return: SimpleStats
focal_class.signature: SimpleStats getStats(String type, boolean resetValueEachSecond, SimpleStats.Type statsType,
                                                StatsOptions options)
focal_method.body: @Override
      public MeterStats getMeter(String name, StatsOptions options) {
          return getStats(name, true, SimpleStats.Type.METER, options);
      }
focal_method.class_method_signature: DefaultStatisticsProvider.getMeter(String name, StatsOptions options)
focal_method.full_signature: @Override public MeterStats getMeter(String name, StatsOptions options)
focal_method.identifier: getMeter
focal_method.invocations: getStats
focal_method.modifiers: @Override public
focal_method.parameters: (String name, StatsOptions options)
focal_method.return: MeterStats
focal_method.signature: MeterStats getMeter(String name, StatsOptions options)