Class LuceneIndexMetrics


  • public class LuceneIndexMetrics
    extends Object
    Provides timer for capture metrics for low level Lucene library call. An index name is automatically prepended to a metric name.
    Since:
    8.0
    • Constructor Detail

      • LuceneIndexMetrics

        public LuceneIndexMetrics​(@NonNull String indexName)
      • LuceneIndexMetrics

        public LuceneIndexMetrics()
    • Method Detail

      • timer

        public com.atlassian.util.profiling.Timer timer​(String... names)
        Create a timer to capture time metrics names[0], name[0].name[1], .., name[0].name[1]...name[n-1].