org.apache.solr.util.stats
Class TimerContext

java.lang.Object
  extended by org.apache.solr.util.stats.TimerContext

public class TimerContext
extends Object

A timing context.

See Also:
Timer.time()

Method Summary
 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-2014 Apache Software Foundation. All Rights Reserved.