org.apache.solr.util.stats

## Class TimerContext

- java.lang.Object
- - org.apache.solr.util.stats.TimerContext

-     public class TimerContext
      extends Object

  A timing context.
  See Also:
    `Timer.time()`

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `stop()` Stops recording the elapsed time, updates the timer and returns the elapsed time

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### stop

          public long stop()

      Stops recording the elapsed time, updates the timer and returns the elapsed time

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.