test_class.declarator: segmentFolder = new TemporaryFolder(new File("target"))
test_class.modifier: @Rule
      public final
test_class.original_string: @Rule
      public final TemporaryFolder segmentFolder = new TemporaryFolder(new File("target"));
test_class.type: TemporaryFolder
test_class.var_name: segmentFolder
test_class.declarator: executor = Executors.newSingleThreadScheduledExecutor()
test_class.modifier: private final
test_class.original_string: private final ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor();
test_class.type: ScheduledExecutorService
test_class.var_name: executor
test_class.file: oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/file/FileStoreStatsTest.java
test_class.identifier: FileStoreStatsTest
test_case.body: @Test
      public void testJournalWriteStats() throws Exception {
          StatisticsProvider statsProvider = new DefaultStatisticsProvider(executor);
          FileStore fileStore = fileStoreBuilder(segmentFolder.newFolder()).withStatisticsProvider(statsProvider).build();
          FileStoreStats stats = new FileStoreStats(statsProvider, fileStore, 0);
  
          SegmentNodeStore nodeStore = SegmentNodeStoreBuilders.builder(fileStore).build();
  
          for (int i = 0; i < 10; i++) {
              NodeBuilder root = nodeStore.getRoot().builder();
              root.setProperty("count", i);
              nodeStore.merge(root, EmptyHook.INSTANCE, CommitInfo.EMPTY);
  
              fileStore.flush();
          }
  
          assertEquals(10, stats.getJournalWriteStatsAsCount());
      }
test_case.class_method_signature: FileStoreStatsTest.testJournalWriteStats()
test_case.full_signature: @Test public void testJournalWriteStats()
test_case.identifier: testJournalWriteStats
test_case.invocations: build withStatisticsProvider fileStoreBuilder newFolder build builder builder getRoot setProperty merge flush assertEquals getJournalWriteStatsAsCount
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testJournalWriteStats()
focal_class.declarator: SEGMENT_REPO_SIZE = "SEGMENT_REPO_SIZE"
focal_class.modifier: public static final
focal_class.original_string: public static final String SEGMENT_REPO_SIZE = "SEGMENT_REPO_SIZE";
focal_class.type: String
focal_class.var_name: SEGMENT_REPO_SIZE
focal_class.declarator: SEGMENT_WRITES = "SEGMENT_WRITES"
focal_class.modifier: public static final
focal_class.original_string: public static final String SEGMENT_WRITES = "SEGMENT_WRITES";
focal_class.type: String
focal_class.var_name: SEGMENT_WRITES
focal_class.declarator: JOURNAL_WRITES = "JOURNAL_WRITES"
focal_class.modifier: public static final
focal_class.original_string: public static final String JOURNAL_WRITES = "JOURNAL_WRITES";
focal_class.type: String
focal_class.var_name: JOURNAL_WRITES
focal_class.declarator: SNFE_COUNT = "SNFE_COUNT"
focal_class.modifier: private static final
focal_class.original_string: private static final String SNFE_COUNT = "SNFE_COUNT";
focal_class.type: String
focal_class.var_name: SNFE_COUNT
focal_class.declarator: statisticsProvider
focal_class.modifier: private final
focal_class.original_string: private final StatisticsProvider statisticsProvider;
focal_class.type: StatisticsProvider
focal_class.var_name: statisticsProvider
focal_class.declarator: store
focal_class.modifier: private final
focal_class.original_string: private final FileStore store;
focal_class.type: FileStore
focal_class.var_name: store
focal_class.declarator: writeStats
focal_class.modifier: private final
focal_class.original_string: private final MeterStats writeStats;
focal_class.type: MeterStats
focal_class.var_name: writeStats
focal_class.declarator: repoSize
focal_class.modifier: private final
focal_class.original_string: private final CounterStats repoSize;
focal_class.type: CounterStats
focal_class.var_name: repoSize
focal_class.declarator: journalWriteStats
focal_class.modifier: private final
focal_class.original_string: private final MeterStats journalWriteStats;
focal_class.type: MeterStats
focal_class.var_name: journalWriteStats
focal_class.declarator: snfeCountStats
focal_class.modifier: private final
focal_class.original_string: private final CounterStats snfeCountStats;
focal_class.type: CounterStats
focal_class.var_name: snfeCountStats
focal_class.file: oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/file/FileStoreStats.java
focal_class.identifier: FileStoreStats
focal_class.interfaces: implements FileStoreStatsMBean, FileStoreMonitor, SegmentNotFoundExceptionListener
focal_class.class_method_signature: FileStoreStats.FileStoreStats(StatisticsProvider statisticsProvider, FileStore store, long initialSize)
focal_class.full_signature: public  FileStoreStats(StatisticsProvider statisticsProvider, FileStore store, long initialSize)
focal_class.identifier: FileStoreStats
focal_class.modifiers: public
focal_class.parameters: (StatisticsProvider statisticsProvider, FileStore store, long initialSize)
focal_class.signature:  FileStoreStats(StatisticsProvider statisticsProvider, FileStore store, long initialSize)
focal_class.class_method_signature: FileStoreStats.init(long initialSize)
focal_class.full_signature: public void init(long initialSize)
focal_class.identifier: init
focal_class.modifiers: public
focal_class.parameters: (long initialSize)
focal_class.return: void
focal_class.signature: void init(long initialSize)
focal_class.class_method_signature: FileStoreStats.notify(@NotNull SegmentId id, @NotNull SegmentNotFoundException snfe)
focal_class.full_signature: @Override public void notify(@NotNull SegmentId id, @NotNull SegmentNotFoundException snfe)
focal_class.identifier: notify
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull SegmentId id, @NotNull SegmentNotFoundException snfe)
focal_class.return: void
focal_class.signature: void notify(@NotNull SegmentId id, @NotNull SegmentNotFoundException snfe)
focal_class.class_method_signature: FileStoreStats.written(long delta)
focal_class.full_signature: @Override public void written(long delta)
focal_class.identifier: written
focal_class.modifiers: @Override public
focal_class.parameters: (long delta)
focal_class.return: void
focal_class.signature: void written(long delta)
focal_class.class_method_signature: FileStoreStats.reclaimed(long size)
focal_class.full_signature: @Override public void reclaimed(long size)
focal_class.identifier: reclaimed
focal_class.modifiers: @Override public
focal_class.parameters: (long size)
focal_class.return: void
focal_class.signature: void reclaimed(long size)
focal_class.class_method_signature: FileStoreStats.flushed()
focal_class.full_signature: @Override public void flushed()
focal_class.identifier: flushed
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void flushed()
focal_class.class_method_signature: FileStoreStats.getApproximateSize()
focal_class.full_signature: @Override public long getApproximateSize()
focal_class.identifier: getApproximateSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getApproximateSize()
focal_class.class_method_signature: FileStoreStats.getTarFileCount()
focal_class.full_signature: @Override public int getTarFileCount()
focal_class.identifier: getTarFileCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getTarFileCount()
focal_class.class_method_signature: FileStoreStats.getSegmentCount()
focal_class.full_signature: @Override public int getSegmentCount()
focal_class.identifier: getSegmentCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSegmentCount()
focal_class.class_method_signature: FileStoreStats.getWriteStats()
focal_class.full_signature: @NotNull @Override public CompositeData getWriteStats()
focal_class.identifier: getWriteStats
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getWriteStats()
focal_class.class_method_signature: FileStoreStats.getRepositorySize()
focal_class.full_signature: @NotNull @Override public CompositeData getRepositorySize()
focal_class.identifier: getRepositorySize
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getRepositorySize()
focal_class.class_method_signature: FileStoreStats.fileStoreInfoAsString()
focal_class.full_signature: @Override public String fileStoreInfoAsString()
focal_class.identifier: fileStoreInfoAsString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String fileStoreInfoAsString()
focal_class.class_method_signature: FileStoreStats.getJournalWriteStatsAsCount()
focal_class.full_signature: @Override public long getJournalWriteStatsAsCount()
focal_class.identifier: getJournalWriteStatsAsCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getJournalWriteStatsAsCount()
focal_class.class_method_signature: FileStoreStats.getJournalWriteStatsAsCompositeData()
focal_class.full_signature: @Override public CompositeData getJournalWriteStatsAsCompositeData()
focal_class.identifier: getJournalWriteStatsAsCompositeData
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getJournalWriteStatsAsCompositeData()
focal_class.class_method_signature: FileStoreStats.getTimeSeries(String name)
focal_class.full_signature: private TimeSeries getTimeSeries(String name)
focal_class.identifier: getTimeSeries
focal_class.modifiers: private
focal_class.parameters: (String name)
focal_class.return: TimeSeries
focal_class.signature: TimeSeries getTimeSeries(String name)
focal_method.body: @Override
      public long getJournalWriteStatsAsCount() {
          return journalWriteStats.getCount();
      }
focal_method.class_method_signature: FileStoreStats.getJournalWriteStatsAsCount()
focal_method.full_signature: @Override public long getJournalWriteStatsAsCount()
focal_method.identifier: getJournalWriteStatsAsCount
focal_method.invocations: getCount
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: long
focal_method.signature: long getJournalWriteStatsAsCount()