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,Integer> numberOfClausesPerField,
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() |
Map<String,Integer> |
getNumberOfClausesPerField() |
int |
getNumberOfResults() |
Query |
getQuery() |
int |
hashCode() |
String |
toMetrics()
Lighter version of toString() (query object excluded)
|
String |
toString() |
public static final int NUMBER_OF_RESULTS_UNKNOWN
public Query getQuery()
public long getNumberOfClausesInQuery()
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.