public final class Profilers
extends java.lang.Object
| Constructor | Description |
|---|---|
Profilers(ContextIndexSearcher searcher) |
Sole constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
QueryProfiler |
addQueryProfiler() |
Switch to a new profile.
|
AggregationProfiler |
getAggregationProfiler() |
Return the
AggregationProfiler. |
QueryProfiler |
getCurrentQueryProfiler() |
Get the current profiler.
|
java.util.List<QueryProfiler> |
getQueryProfilers() |
Return the list of all created
QueryProfilers so far. |
public Profilers(ContextIndexSearcher searcher)
Profilers instance will initially wrap one QueryProfiler.public QueryProfiler addQueryProfiler()
public QueryProfiler getCurrentQueryProfiler()
public java.util.List<QueryProfiler> getQueryProfilers()
QueryProfilers so far.public AggregationProfiler getAggregationProfiler()
AggregationProfiler.