test_class.declarator: executor = Executors.newSingleThreadScheduledExecutor()
test_class.modifier: private
test_class.original_string: private ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor();
test_class.type: ScheduledExecutorService
test_class.var_name: executor
test_class.declarator: statsProvider =
              new MetricStatisticsProvider(ManagementFactory.getPlatformMBeanServer(),executor)
test_class.modifier: private
test_class.original_string: private MetricStatisticsProvider statsProvider =
              new MetricStatisticsProvider(ManagementFactory.getPlatformMBeanServer(),executor);
test_class.type: MetricStatisticsProvider
test_class.var_name: statsProvider
test_class.declarator: stats = new DocumentStoreStats(statsProvider)
test_class.modifier: private
test_class.original_string: private DocumentStoreStats stats = new DocumentStoreStats(statsProvider);
test_class.type: DocumentStoreStats
test_class.var_name: stats
test_class.file: oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentStoreStatsTest.java
test_class.identifier: DocumentStoreStatsTest
test_case.body: @Test
      public void perfLog() throws Exception{
          String logName = DocumentStoreStats.class.getName() + ".perf";
          LogCustomizer customLogs = LogCustomizer.forLogger(logName)
                  .filter(Level.TRACE)
                  .create();
  
          enableLevel(logName, Level.INFO);
          customLogs.starting();
  
          //No logs untill debug enabled
          stats.doneFindAndModify(100, Collection.NODES, "foo", true, true, 0);
          assertEquals(0, customLogs.getLogs().size());
  
          stats.doneFindAndModify(TimeUnit.SECONDS.toNanos(10), Collection.NODES, "foo", true, true, 0);
          assertEquals(0, customLogs.getLogs().size());
  
          //Change level to DEBUG - Now threshold rule applies
          enableLevel(logName, Level.DEBUG);
  
          stats.doneFindAndModify(100, Collection.NODES, "foo", true, true, 0);
          assertEquals(0, customLogs.getLogs().size());
  
          stats.doneFindAndModify(TimeUnit.SECONDS.toNanos(10), Collection.NODES, "foo", true, true, 0);
          assertEquals(1, customLogs.getLogs().size());
  
          //With trace level everything is logged
          enableLevel(logName, Level.TRACE);
          stats.doneFindAndModify(100, Collection.NODES, "foo", true, true, 0);
          assertEquals(2, customLogs.getLogs().size());
  
          customLogs.finished();
      }
test_case.class_method_signature: DocumentStoreStatsTest.perfLog()
test_case.full_signature: @Test public void perfLog()
test_case.identifier: perfLog
test_case.invocations: getName create filter forLogger enableLevel starting doneFindAndModify assertEquals size getLogs doneFindAndModify toNanos assertEquals size getLogs enableLevel doneFindAndModify assertEquals size getLogs doneFindAndModify toNanos assertEquals size getLogs enableLevel doneFindAndModify assertEquals size getLogs finished
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void perfLog()
focal_class.declarator: perfLog = LoggerFactory.getLogger(DocumentStoreStats.class.getName() + ".perf")
focal_class.modifier: private final
focal_class.original_string: private final Logger perfLog = LoggerFactory.getLogger(DocumentStoreStats.class.getName() + ".perf");
focal_class.type: Logger
focal_class.var_name: perfLog
focal_class.declarator: PERF_LOG_THRESHOLD = 1
focal_class.modifier: public static final
focal_class.original_string: public static final int PERF_LOG_THRESHOLD = 1;
focal_class.type: int
focal_class.var_name: PERF_LOG_THRESHOLD
focal_class.declarator: NODES_FIND_CACHED = "DOCUMENT_NODES_FIND_CACHED"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_FIND_CACHED = "DOCUMENT_NODES_FIND_CACHED";
focal_class.type: String
focal_class.var_name: NODES_FIND_CACHED
focal_class.declarator: NODES_FIND_SPLIT = "DOCUMENT_NODES_FIND_SPLIT"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_FIND_SPLIT = "DOCUMENT_NODES_FIND_SPLIT";
focal_class.type: String
focal_class.var_name: NODES_FIND_SPLIT
focal_class.declarator: NODES_FIND_SLAVE = "DOCUMENT_NODES_FIND_SLAVE"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_FIND_SLAVE = "DOCUMENT_NODES_FIND_SLAVE";
focal_class.type: String
focal_class.var_name: NODES_FIND_SLAVE
focal_class.declarator: NODES_FIND_PRIMARY = "DOCUMENT_NODES_FIND_PRIMARY"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_FIND_PRIMARY = "DOCUMENT_NODES_FIND_PRIMARY";
focal_class.type: String
focal_class.var_name: NODES_FIND_PRIMARY
focal_class.declarator: NODES_FIND_MISSING = "DOCUMENT_NODES_FIND_MISSING"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_FIND_MISSING = "DOCUMENT_NODES_FIND_MISSING";
focal_class.type: String
focal_class.var_name: NODES_FIND_MISSING
focal_class.declarator: NODES_FIND_MISSING_TIMER = "DOCUMENT_NODES_FIND_MISSING_TIMER"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_FIND_MISSING_TIMER = "DOCUMENT_NODES_FIND_MISSING_TIMER";
focal_class.type: String
focal_class.var_name: NODES_FIND_MISSING_TIMER
focal_class.declarator: NODES_FIND_TIMER = "DOCUMENT_NODES_FIND"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_FIND_TIMER = "DOCUMENT_NODES_FIND";
focal_class.type: String
focal_class.var_name: NODES_FIND_TIMER
focal_class.declarator: NODES_QUERY_FIND_READ_COUNT = "DOCUMENT_NODES_QUERY_FIND"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_QUERY_FIND_READ_COUNT = "DOCUMENT_NODES_QUERY_FIND";
focal_class.type: String
focal_class.var_name: NODES_QUERY_FIND_READ_COUNT
focal_class.declarator: NODES_QUERY_FILTER = "DOCUMENT_NODES_QUERY_FILTER"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_QUERY_FILTER = "DOCUMENT_NODES_QUERY_FILTER";
focal_class.type: String
focal_class.var_name: NODES_QUERY_FILTER
focal_class.declarator: NODES_QUERY_TIMER = "DOCUMENT_NODES_QUERY"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_QUERY_TIMER = "DOCUMENT_NODES_QUERY";
focal_class.type: String
focal_class.var_name: NODES_QUERY_TIMER
focal_class.declarator: NODES_QUERY_SLAVE = "DOCUMENT_NODES_QUERY_SLAVE"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_QUERY_SLAVE = "DOCUMENT_NODES_QUERY_SLAVE";
focal_class.type: String
focal_class.var_name: NODES_QUERY_SLAVE
focal_class.declarator: NODES_QUERY_PRIMARY = "DOCUMENT_NODES_QUERY_PRIMARY"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_QUERY_PRIMARY = "DOCUMENT_NODES_QUERY_PRIMARY";
focal_class.type: String
focal_class.var_name: NODES_QUERY_PRIMARY
focal_class.declarator: NODES_QUERY_LOCK = "DOCUMENT_NODES_QUERY_LOCK"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_QUERY_LOCK = "DOCUMENT_NODES_QUERY_LOCK";
focal_class.type: String
focal_class.var_name: NODES_QUERY_LOCK
focal_class.declarator: NODES_QUERY_LOCK_TIMER = "DOCUMENT_NODES_QUERY_LOCK_TIMER"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_QUERY_LOCK_TIMER = "DOCUMENT_NODES_QUERY_LOCK_TIMER";
focal_class.type: String
focal_class.var_name: NODES_QUERY_LOCK_TIMER
focal_class.declarator: NODES_CREATE = "DOCUMENT_NODES_CREATE"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_CREATE = "DOCUMENT_NODES_CREATE";
focal_class.type: String
focal_class.var_name: NODES_CREATE
focal_class.declarator: NODES_CREATE_UPSERT = "DOCUMENT_NODES_CREATE_UPSERT"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_CREATE_UPSERT = "DOCUMENT_NODES_CREATE_UPSERT";
focal_class.type: String
focal_class.var_name: NODES_CREATE_UPSERT
focal_class.declarator: NODES_CREATE_SPLIT = "DOCUMENT_NODES_CREATE_SPLIT"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_CREATE_SPLIT = "DOCUMENT_NODES_CREATE_SPLIT";
focal_class.type: String
focal_class.var_name: NODES_CREATE_SPLIT
focal_class.declarator: NODES_CREATE_UPSERT_TIMER = "DOCUMENT_NODES_CREATE_UPSERT_TIMER"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_CREATE_UPSERT_TIMER = "DOCUMENT_NODES_CREATE_UPSERT_TIMER";
focal_class.type: String
focal_class.var_name: NODES_CREATE_UPSERT_TIMER
focal_class.declarator: NODES_CREATE_TIMER = "DOCUMENT_NODES_CREATE_TIMER"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_CREATE_TIMER = "DOCUMENT_NODES_CREATE_TIMER";
focal_class.type: String
focal_class.var_name: NODES_CREATE_TIMER
focal_class.declarator: NODES_UPDATE = "DOCUMENT_NODES_UPDATE"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_UPDATE = "DOCUMENT_NODES_UPDATE";
focal_class.type: String
focal_class.var_name: NODES_UPDATE
focal_class.declarator: NODES_UPDATE_FAILURE = "DOCUMENT_NODES_UPDATE_FAILURE"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_UPDATE_FAILURE = "DOCUMENT_NODES_UPDATE_FAILURE";
focal_class.type: String
focal_class.var_name: NODES_UPDATE_FAILURE
focal_class.declarator: NODES_UPDATE_RETRY_COUNT = "DOCUMENT_NODES_UPDATE_RETRY"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_UPDATE_RETRY_COUNT = "DOCUMENT_NODES_UPDATE_RETRY";
focal_class.type: String
focal_class.var_name: NODES_UPDATE_RETRY_COUNT
focal_class.declarator: NODES_UPDATE_TIMER = "DOCUMENT_NODES_UPDATE_TIMER"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_UPDATE_TIMER = "DOCUMENT_NODES_UPDATE_TIMER";
focal_class.type: String
focal_class.var_name: NODES_UPDATE_TIMER
focal_class.declarator: NODES_REMOVE = "DOCUMENT_NODES_REMOVE"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_REMOVE = "DOCUMENT_NODES_REMOVE";
focal_class.type: String
focal_class.var_name: NODES_REMOVE
focal_class.declarator: NODES_REMOVE_TIMER = "DOCUMENT_NODES_REMOVE_TIMER"
focal_class.modifier: static final
focal_class.original_string: static final String NODES_REMOVE_TIMER = "DOCUMENT_NODES_REMOVE_TIMER";
focal_class.type: String
focal_class.var_name: NODES_REMOVE_TIMER
focal_class.declarator: JOURNAL_QUERY = "DOCUMENT_JOURNAL_QUERY"
focal_class.modifier: static final
focal_class.original_string: static final String JOURNAL_QUERY = "DOCUMENT_JOURNAL_QUERY";
focal_class.type: String
focal_class.var_name: JOURNAL_QUERY
focal_class.declarator: JOURNAL_CREATE = "DOCUMENT_JOURNAL_CREATE"
focal_class.modifier: static final
focal_class.original_string: static final String JOURNAL_CREATE = "DOCUMENT_JOURNAL_CREATE";
focal_class.type: String
focal_class.var_name: JOURNAL_CREATE
focal_class.declarator: JOURNAL_QUERY_TIMER = "DOCUMENT_JOURNAL_QUERY_TIMER"
focal_class.modifier: static final
focal_class.original_string: static final String JOURNAL_QUERY_TIMER = "DOCUMENT_JOURNAL_QUERY_TIMER";
focal_class.type: String
focal_class.var_name: JOURNAL_QUERY_TIMER
focal_class.declarator: JOURNAL_CREATE_TIMER = "DOCUMENT_JOURNAL_CREATE_TIMER"
focal_class.modifier: static final
focal_class.original_string: static final String JOURNAL_CREATE_TIMER = "DOCUMENT_JOURNAL_CREATE_TIMER";
focal_class.type: String
focal_class.var_name: JOURNAL_CREATE_TIMER
focal_class.declarator: findNodesCachedMeter
focal_class.modifier: private final
focal_class.original_string: private final MeterStats findNodesCachedMeter;
focal_class.type: MeterStats
focal_class.var_name: findNodesCachedMeter
focal_class.declarator: findNodesMissing
focal_class.modifier: private final
focal_class.original_string: private final MeterStats findNodesMissing;
focal_class.type: MeterStats
focal_class.var_name: findNodesMissing
focal_class.declarator: findNodesMissingTimer
focal_class.modifier: private final
focal_class.original_string: private final TimerStats findNodesMissingTimer;
focal_class.type: TimerStats
focal_class.var_name: findNodesMissingTimer
focal_class.declarator: findNodesSlave
focal_class.modifier: private final
focal_class.original_string: private final MeterStats findNodesSlave;
focal_class.type: MeterStats
focal_class.var_name: findNodesSlave
focal_class.declarator: findNodesTimer
focal_class.modifier: private final
focal_class.original_string: private final TimerStats findNodesTimer;
focal_class.type: TimerStats
focal_class.var_name: findNodesTimer
focal_class.declarator: findNodesPrimary
focal_class.modifier: private final
focal_class.original_string: private final MeterStats findNodesPrimary;
focal_class.type: MeterStats
focal_class.var_name: findNodesPrimary
focal_class.declarator: queryNodesSlave
focal_class.modifier: private final
focal_class.original_string: private final MeterStats queryNodesSlave;
focal_class.type: MeterStats
focal_class.var_name: queryNodesSlave
focal_class.declarator: queryNodesPrimary
focal_class.modifier: private final
focal_class.original_string: private final MeterStats queryNodesPrimary;
focal_class.type: MeterStats
focal_class.var_name: queryNodesPrimary
focal_class.declarator: queryNodesResult
focal_class.modifier: private final
focal_class.original_string: private final MeterStats queryNodesResult;
focal_class.type: MeterStats
focal_class.var_name: queryNodesResult
focal_class.declarator: queryNodesWithFilterTimer
focal_class.modifier: private final
focal_class.original_string: private final TimerStats queryNodesWithFilterTimer;
focal_class.type: TimerStats
focal_class.var_name: queryNodesWithFilterTimer
focal_class.declarator: queryNodesTimer
focal_class.modifier: private final
focal_class.original_string: private final TimerStats queryNodesTimer;
focal_class.type: TimerStats
focal_class.var_name: queryNodesTimer
focal_class.declarator: queryJournal
focal_class.modifier: private final
focal_class.original_string: private final MeterStats queryJournal;
focal_class.type: MeterStats
focal_class.var_name: queryJournal
focal_class.declarator: queryJournalTimer
focal_class.modifier: private final
focal_class.original_string: private final TimerStats queryJournalTimer;
focal_class.type: TimerStats
focal_class.var_name: queryJournalTimer
focal_class.declarator: createNodeUpsertTimer
focal_class.modifier: private final
focal_class.original_string: private final TimerStats createNodeUpsertTimer;
focal_class.type: TimerStats
focal_class.var_name: createNodeUpsertTimer
focal_class.declarator: createNodeTimer
focal_class.modifier: private final
focal_class.original_string: private final TimerStats createNodeTimer;
focal_class.type: TimerStats
focal_class.var_name: createNodeTimer
focal_class.declarator: updateNodeTimer
focal_class.modifier: private final
focal_class.original_string: private final TimerStats updateNodeTimer;
focal_class.type: TimerStats
focal_class.var_name: updateNodeTimer
focal_class.declarator: createNodeUpsertMeter
focal_class.modifier: private final
focal_class.original_string: private final MeterStats createNodeUpsertMeter;
focal_class.type: MeterStats
focal_class.var_name: createNodeUpsertMeter
focal_class.declarator: createNodeMeter
focal_class.modifier: private final
focal_class.original_string: private final MeterStats createNodeMeter;
focal_class.type: MeterStats
focal_class.var_name: createNodeMeter
focal_class.declarator: updateNodeMeter
focal_class.modifier: private final
focal_class.original_string: private final MeterStats updateNodeMeter;
focal_class.type: MeterStats
focal_class.var_name: updateNodeMeter
focal_class.declarator: createJournal
focal_class.modifier: private final
focal_class.original_string: private final MeterStats createJournal;
focal_class.type: MeterStats
focal_class.var_name: createJournal
focal_class.declarator: createJournalTimer
focal_class.modifier: private final
focal_class.original_string: private final TimerStats createJournalTimer;
focal_class.type: TimerStats
focal_class.var_name: createJournalTimer
focal_class.declarator: findSplitNodes
focal_class.modifier: private final
focal_class.original_string: private final MeterStats findSplitNodes;
focal_class.type: MeterStats
focal_class.var_name: findSplitNodes
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: queryNodesLock
focal_class.modifier: private final
focal_class.original_string: private final MeterStats queryNodesLock;
focal_class.type: MeterStats
focal_class.var_name: queryNodesLock
focal_class.declarator: queryNodesLockTimer
focal_class.modifier: private final
focal_class.original_string: private final TimerStats queryNodesLockTimer;
focal_class.type: TimerStats
focal_class.var_name: queryNodesLockTimer
focal_class.declarator: createSplitNodeMeter
focal_class.modifier: private final
focal_class.original_string: private final MeterStats createSplitNodeMeter;
focal_class.type: MeterStats
focal_class.var_name: createSplitNodeMeter
focal_class.declarator: updateNodeFailureMeter
focal_class.modifier: private final
focal_class.original_string: private final MeterStats updateNodeFailureMeter;
focal_class.type: MeterStats
focal_class.var_name: updateNodeFailureMeter
focal_class.declarator: updateNodeRetryCountMeter
focal_class.modifier: private final
focal_class.original_string: private final MeterStats updateNodeRetryCountMeter;
focal_class.type: MeterStats
focal_class.var_name: updateNodeRetryCountMeter
focal_class.declarator: removeNodes
focal_class.modifier: private final
focal_class.original_string: private final MeterStats removeNodes;
focal_class.type: MeterStats
focal_class.var_name: removeNodes
focal_class.declarator: removeNodesTimer
focal_class.modifier: private final
focal_class.original_string: private final TimerStats removeNodesTimer;
focal_class.type: TimerStats
focal_class.var_name: removeNodesTimer
focal_class.file: oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStoreStats.java
focal_class.identifier: DocumentStoreStats
focal_class.interfaces: implements DocumentStoreStatsCollector, DocumentStoreStatsMBean
focal_class.class_method_signature: DocumentStoreStats.DocumentStoreStats(StatisticsProvider provider)
focal_class.full_signature: public  DocumentStoreStats(StatisticsProvider provider)
focal_class.identifier: DocumentStoreStats
focal_class.modifiers: public
focal_class.parameters: (StatisticsProvider provider)
focal_class.signature:  DocumentStoreStats(StatisticsProvider provider)
focal_class.class_method_signature: DocumentStoreStats.doneFindCached(Collection<? extends Document> collection, String key)
focal_class.full_signature: @Override public void doneFindCached(Collection<? extends Document> collection, String key)
focal_class.identifier: doneFindCached
focal_class.modifiers: @Override public
focal_class.parameters: (Collection<? extends Document> collection, String key)
focal_class.return: void
focal_class.signature: void doneFindCached(Collection<? extends Document> collection, String key)
focal_class.class_method_signature: DocumentStoreStats.doneFindUncached(long timeTakenNanos, Collection<? extends Document> collection, String key,
                                   boolean docFound, boolean isSlaveOk)
focal_class.full_signature: @Override public void doneFindUncached(long timeTakenNanos, Collection<? extends Document> collection, String key,
                                   boolean docFound, boolean isSlaveOk)
focal_class.identifier: doneFindUncached
focal_class.modifiers: @Override public
focal_class.parameters: (long timeTakenNanos, Collection<? extends Document> collection, String key,
                                   boolean docFound, boolean isSlaveOk)
focal_class.return: void
focal_class.signature: void doneFindUncached(long timeTakenNanos, Collection<? extends Document> collection, String key,
                                   boolean docFound, boolean isSlaveOk)
focal_class.class_method_signature: DocumentStoreStats.doneQuery(long timeTakenNanos, Collection<? extends Document> collection, String fromKey, String toKey,
                            boolean indexedProperty, int resultSize, long lockTime, boolean isSlaveOk)
focal_class.full_signature: @Override public void doneQuery(long timeTakenNanos, Collection<? extends Document> collection, String fromKey, String toKey,
                            boolean indexedProperty, int resultSize, long lockTime, boolean isSlaveOk)
focal_class.identifier: doneQuery
focal_class.modifiers: @Override public
focal_class.parameters: (long timeTakenNanos, Collection<? extends Document> collection, String fromKey, String toKey,
                            boolean indexedProperty, int resultSize, long lockTime, boolean isSlaveOk)
focal_class.return: void
focal_class.signature: void doneQuery(long timeTakenNanos, Collection<? extends Document> collection, String fromKey, String toKey,
                            boolean indexedProperty, int resultSize, long lockTime, boolean isSlaveOk)
focal_class.class_method_signature: DocumentStoreStats.doneCreate(long timeTakenNanos, Collection<? extends Document> collection, List<String> ids, boolean insertSuccess)
focal_class.full_signature: @Override public void doneCreate(long timeTakenNanos, Collection<? extends Document> collection, List<String> ids, boolean insertSuccess)
focal_class.identifier: doneCreate
focal_class.modifiers: @Override public
focal_class.parameters: (long timeTakenNanos, Collection<? extends Document> collection, List<String> ids, boolean insertSuccess)
focal_class.return: void
focal_class.signature: void doneCreate(long timeTakenNanos, Collection<? extends Document> collection, List<String> ids, boolean insertSuccess)
focal_class.class_method_signature: DocumentStoreStats.doneCreateOrUpdate(long timeTakenNanos,
                                     Collection<? extends Document> collection,
                                     List<String> ids)
focal_class.full_signature: @Override public void doneCreateOrUpdate(long timeTakenNanos,
                                     Collection<? extends Document> collection,
                                     List<String> ids)
focal_class.identifier: doneCreateOrUpdate
focal_class.modifiers: @Override public
focal_class.parameters: (long timeTakenNanos,
                                     Collection<? extends Document> collection,
                                     List<String> ids)
focal_class.return: void
focal_class.signature: void doneCreateOrUpdate(long timeTakenNanos,
                                     Collection<? extends Document> collection,
                                     List<String> ids)
focal_class.class_method_signature: DocumentStoreStats.doneFindAndModify(long timeTakenNanos, Collection<? extends Document> collection, String key, boolean newEntry,
                                    boolean success, int retryCount)
focal_class.full_signature: @Override public void doneFindAndModify(long timeTakenNanos, Collection<? extends Document> collection, String key, boolean newEntry,
                                    boolean success, int retryCount)
focal_class.identifier: doneFindAndModify
focal_class.modifiers: @Override public
focal_class.parameters: (long timeTakenNanos, Collection<? extends Document> collection, String key, boolean newEntry,
                                    boolean success, int retryCount)
focal_class.return: void
focal_class.signature: void doneFindAndModify(long timeTakenNanos, Collection<? extends Document> collection, String key, boolean newEntry,
                                    boolean success, int retryCount)
focal_class.class_method_signature: DocumentStoreStats.doneRemove(long timeTakenNanos,
                             Collection<? extends Document> collection,
                             int removeCount)
focal_class.full_signature: @Override public void doneRemove(long timeTakenNanos,
                             Collection<? extends Document> collection,
                             int removeCount)
focal_class.identifier: doneRemove
focal_class.modifiers: @Override public
focal_class.parameters: (long timeTakenNanos,
                             Collection<? extends Document> collection,
                             int removeCount)
focal_class.return: void
focal_class.signature: void doneRemove(long timeTakenNanos,
                             Collection<? extends Document> collection,
                             int removeCount)
focal_class.class_method_signature: DocumentStoreStats.perfLog(long timeTakenNanos, String logMessagePrefix, Object... arguments)
focal_class.full_signature: private void perfLog(long timeTakenNanos, String logMessagePrefix, Object... arguments)
focal_class.identifier: perfLog
focal_class.modifiers: private
focal_class.parameters: (long timeTakenNanos, String logMessagePrefix, Object... arguments)
focal_class.return: void
focal_class.signature: void perfLog(long timeTakenNanos, String logMessagePrefix, Object... arguments)
focal_class.class_method_signature: DocumentStoreStats.getNodesFindCount()
focal_class.full_signature: @Override public long getNodesFindCount()
focal_class.identifier: getNodesFindCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNodesFindCount()
focal_class.class_method_signature: DocumentStoreStats.getNodesFindQueryCount()
focal_class.full_signature: @Override public long getNodesFindQueryCount()
focal_class.identifier: getNodesFindQueryCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNodesFindQueryCount()
focal_class.class_method_signature: DocumentStoreStats.getNodesFindMissingCount()
focal_class.full_signature: @Override public long getNodesFindMissingCount()
focal_class.identifier: getNodesFindMissingCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNodesFindMissingCount()
focal_class.class_method_signature: DocumentStoreStats.getNodesReadByQueryCount()
focal_class.full_signature: @Override public long getNodesReadByQueryCount()
focal_class.identifier: getNodesReadByQueryCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNodesReadByQueryCount()
focal_class.class_method_signature: DocumentStoreStats.getNodesCreateCount()
focal_class.full_signature: @Override public long getNodesCreateCount()
focal_class.identifier: getNodesCreateCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNodesCreateCount()
focal_class.class_method_signature: DocumentStoreStats.getNodesUpdateCount()
focal_class.full_signature: @Override public long getNodesUpdateCount()
focal_class.identifier: getNodesUpdateCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNodesUpdateCount()
focal_class.class_method_signature: DocumentStoreStats.getNodesRemoveCount()
focal_class.full_signature: @Override public long getNodesRemoveCount()
focal_class.identifier: getNodesRemoveCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNodesRemoveCount()
focal_class.class_method_signature: DocumentStoreStats.getJournalCreateCount()
focal_class.full_signature: @Override public long getJournalCreateCount()
focal_class.identifier: getJournalCreateCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getJournalCreateCount()
focal_class.class_method_signature: DocumentStoreStats.getJournalReadCount()
focal_class.full_signature: @Override public long getJournalReadCount()
focal_class.identifier: getJournalReadCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getJournalReadCount()
focal_class.class_method_signature: DocumentStoreStats.getFindCachedNodesHistory()
focal_class.full_signature: @Override public CompositeData getFindCachedNodesHistory()
focal_class.identifier: getFindCachedNodesHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getFindCachedNodesHistory()
focal_class.class_method_signature: DocumentStoreStats.getFindSplitNodesHistory()
focal_class.full_signature: @Override public CompositeData getFindSplitNodesHistory()
focal_class.identifier: getFindSplitNodesHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getFindSplitNodesHistory()
focal_class.class_method_signature: DocumentStoreStats.getFindNodesFromPrimaryHistory()
focal_class.full_signature: @Override public CompositeData getFindNodesFromPrimaryHistory()
focal_class.identifier: getFindNodesFromPrimaryHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getFindNodesFromPrimaryHistory()
focal_class.class_method_signature: DocumentStoreStats.getFindNodesFromSlaveHistory()
focal_class.full_signature: @Override public CompositeData getFindNodesFromSlaveHistory()
focal_class.identifier: getFindNodesFromSlaveHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getFindNodesFromSlaveHistory()
focal_class.class_method_signature: DocumentStoreStats.getFindNodesMissingHistory()
focal_class.full_signature: @Override public CompositeData getFindNodesMissingHistory()
focal_class.identifier: getFindNodesMissingHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getFindNodesMissingHistory()
focal_class.class_method_signature: DocumentStoreStats.getQueryNodesFromSlaveHistory()
focal_class.full_signature: @Override public CompositeData getQueryNodesFromSlaveHistory()
focal_class.identifier: getQueryNodesFromSlaveHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getQueryNodesFromSlaveHistory()
focal_class.class_method_signature: DocumentStoreStats.getQueryNodesFromPrimaryHistory()
focal_class.full_signature: @Override public CompositeData getQueryNodesFromPrimaryHistory()
focal_class.identifier: getQueryNodesFromPrimaryHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getQueryNodesFromPrimaryHistory()
focal_class.class_method_signature: DocumentStoreStats.getQueryNodesLockHistory()
focal_class.full_signature: @Override public CompositeData getQueryNodesLockHistory()
focal_class.identifier: getQueryNodesLockHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getQueryNodesLockHistory()
focal_class.class_method_signature: DocumentStoreStats.getQueryJournalHistory()
focal_class.full_signature: @Override public CompositeData getQueryJournalHistory()
focal_class.identifier: getQueryJournalHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getQueryJournalHistory()
focal_class.class_method_signature: DocumentStoreStats.getCreateJournalHistory()
focal_class.full_signature: @Override public CompositeData getCreateJournalHistory()
focal_class.identifier: getCreateJournalHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getCreateJournalHistory()
focal_class.class_method_signature: DocumentStoreStats.getCreateNodesHistory()
focal_class.full_signature: @Override public CompositeData getCreateNodesHistory()
focal_class.identifier: getCreateNodesHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getCreateNodesHistory()
focal_class.class_method_signature: DocumentStoreStats.getUpdateNodesHistory()
focal_class.full_signature: @Override public CompositeData getUpdateNodesHistory()
focal_class.identifier: getUpdateNodesHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getUpdateNodesHistory()
focal_class.class_method_signature: DocumentStoreStats.getUpdateNodesRetryHistory()
focal_class.full_signature: @Override public CompositeData getUpdateNodesRetryHistory()
focal_class.identifier: getUpdateNodesRetryHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getUpdateNodesRetryHistory()
focal_class.class_method_signature: DocumentStoreStats.getUpdateNodesFailureHistory()
focal_class.full_signature: @Override public CompositeData getUpdateNodesFailureHistory()
focal_class.identifier: getUpdateNodesFailureHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getUpdateNodesFailureHistory()
focal_class.class_method_signature: DocumentStoreStats.getRemoveNodesHistory()
focal_class.full_signature: @Override public CompositeData getRemoveNodesHistory()
focal_class.identifier: getRemoveNodesHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getRemoveNodesHistory()
focal_class.class_method_signature: DocumentStoreStats.getTimeSeriesData(String name, String desc)
focal_class.full_signature: private CompositeData getTimeSeriesData(String name, String desc)
focal_class.identifier: getTimeSeriesData
focal_class.modifiers: private
focal_class.parameters: (String name, String desc)
focal_class.return: CompositeData
focal_class.signature: CompositeData getTimeSeriesData(String name, String desc)
focal_class.class_method_signature: DocumentStoreStats.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: private void perfLog(long timeTakenNanos, String logMessagePrefix, Object... arguments){
          if (!perfLog.isDebugEnabled()){
              return;
          }
  
          final long diff = TimeUnit.NANOSECONDS.toMillis(timeTakenNanos);
          if (perfLog.isTraceEnabled()) {
              // if log level is TRACE, then always log - and do that on TRACE
              // then:
              perfLog.trace(logMessagePrefix + " [took " + diff + "ms]",
                      (Object[]) arguments);
          } else if (diff > PERF_LOG_THRESHOLD) {
              perfLog.debug(logMessagePrefix + " [took " + diff + "ms]",
                      (Object[]) arguments);
          }
      }
focal_method.class_method_signature: DocumentStoreStats.perfLog(long timeTakenNanos, String logMessagePrefix, Object... arguments)
focal_method.full_signature: private void perfLog(long timeTakenNanos, String logMessagePrefix, Object... arguments)
focal_method.identifier: perfLog
focal_method.invocations: isDebugEnabled toMillis isTraceEnabled trace debug
focal_method.modifiers: private
focal_method.parameters: (long timeTakenNanos, String logMessagePrefix, Object... arguments)
focal_method.return: void
focal_method.signature: void perfLog(long timeTakenNanos, String logMessagePrefix, Object... arguments)