Class RTimerTree

  • public class RTimerTree
    extends RTimer
    A recursive timer.

    RTimerTree's are started automatically when instantiated; sub-timers are also started automatically when created.

    • Field Detail

      • children

        protected org.apache.solr.common.util.SimpleOrderedMap<RTimerTree> children
    • Constructor Detail

      • RTimerTree

        public RTimerTree()
    • Method Detail

      • stop

        public double stop()
        Recursively stop timer and sub timers
        stop in class RTimer
      • sub

        public RTimerTree sub​(String desc)
        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.
      • asNamedList

        public org.apache.solr.common.util.NamedList<Object> asNamedList()
      • getChildren

        public org.apache.solr.common.util.SimpleOrderedMap<RTimerTree> getChildren()
        Manipulating this map may have undefined results.