public class LuceneQueryExecutionEvent extends Object implements MetricEvent
Modifier and Type | Field and Description |
---|---|
static int |
NUMBER_OF_RESULTS_UNKNOWN |
Constructor and Description |
---|
LuceneQueryExecutionEvent(Query query,
Map<String,LuceneQueryMetrics.TermMetric> queryTermMetrics,
long executionTime,
int numberOfResults,
String collectorType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCollectorType() |
long |
getExecutionTime() |
String |
getName()
Implement to provide metric name, ex.
|
long |
getNumberOfClausesInQuery() |
long |
getNumberOfCustomFieldsUsed() |
int |
getNumberOfResults() |
Query |
getQuery() |
Map<String,LuceneQueryMetrics.TermMetric> |
getQueryTermMetrics() |
int |
hashCode() |
String |
toMetrics()
Lighter version of toString() (query object excluded)
|
String |
toString() |
public static final int NUMBER_OF_RESULTS_UNKNOWN
public LuceneQueryExecutionEvent(Query query, Map<String,LuceneQueryMetrics.TermMetric> queryTermMetrics, long executionTime, int numberOfResults, String collectorType)
public Query getQuery()
public long getNumberOfClausesInQuery()
public long getNumberOfCustomFieldsUsed()
public Map<String,LuceneQueryMetrics.TermMetric> getQueryTermMetrics()
public long getExecutionTime()
public int getNumberOfResults()
public String getCollectorType()
public String toMetrics()
public String getName()
MetricEvent
getName
in interface MetricEvent
Copyright © 2002-2019 Atlassian. All Rights Reserved.