public interface QueryTimeListener
Modifier and Type | Method and Description |
---|---|
void |
logQueryTime(String queryId,
long timeInNanos)
How long it took to run a particular query
|
static <T extends QueryMatch> |
timingMatcher(MatcherFactory<T> factory,
QueryTimeListener listener)
A wrapping matcher factory to log query times to a QueryTimeListener
|
void logQueryTime(String queryId, long timeInNanos)
static <T extends QueryMatch> MatcherFactory<T> timingMatcher(MatcherFactory<T> factory, QueryTimeListener listener)
factory
- a matcher factory to use for the actual matchinglistener
- the QueryTimeListenerCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.