Package org.elasticsearch.search.profile
Class Profilers
java.lang.Object
org.elasticsearch.search.profile.Profilers
Wrapper around all the profilers that makes management easier.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSwitch to a new profile.Return theAggregationProfiler.Get the current profiler.Return the list of all createdQueryProfilers so far.
-
Constructor Details
-
Profilers
Sole constructor. ThisProfilersinstance will initially wrap oneQueryProfiler.
-
-
Method Details
-
addQueryProfiler
Switch to a new profile. -
getCurrentQueryProfiler
Get the current profiler. -
getQueryProfilers
Return the list of all createdQueryProfilers so far. -
getAggregationProfiler
Return theAggregationProfiler.
-