Package org.apache.solr.util
Class RTimerTree
java.lang.Object
org.apache.solr.util.RTimer
org.apache.solr.util.RTimerTree
A recursive timer.
RTimerTree's are started automatically when instantiated; sub-timers are also started automatically when created.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.util.RTimer
RTimer.TimerImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.solr.common.util.SimpleOrderedMap<RTimerTree> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.solr.common.util.NamedList<Object> org.apache.solr.common.util.SimpleOrderedMap<RTimerTree> Manipulating this map may have undefined results.protected RTimerTreenewTimer()doublestop()Recursively stop timer and sub timersReturns a subtimer given its name.toString()Methods inherited from class org.apache.solr.util.RTimer
getTime, newTimerImpl, pause, resume
-
Field Details
-
children
-
-
Constructor Details
-
RTimerTree
public RTimerTree()
-
-
Method Details
-
stop
public double stop()Recursively stop timer and sub timers -
newTimer
-
sub
Returns a subtimer given its name. If the subtimer did not exist a new subtimer will be started and returned, otherwise an existing subtimer will be returned as-is. -
toString
-
asNamedList
-
getChildren
Manipulating this map may have undefined results.
-