Class LuceneIndexMetrics
- java.lang.Object
-
- com.atlassian.confluence.internal.search.v2.lucene.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 Summary
Constructors Constructor Description LuceneIndexMetrics()
LuceneIndexMetrics(@NonNull String indexName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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].
-
-
-
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].
-
-