org.apache.solr.util.stats
Class Clock.CpuTimeClock

java.lang.Object
  extended by org.apache.solr.util.stats.Clock
      extended by org.apache.solr.util.stats.Clock.CpuTimeClock
Enclosing class:
Clock

public static class Clock.CpuTimeClock
extends Clock

A clock implementation which returns the current thread's CPU time.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.solr.util.stats.Clock
Clock.CpuTimeClock, Clock.UserTimeClock
 
Constructor Summary
Clock.CpuTimeClock()
           
 
Method Summary
 long getTick()
          Returns the current time tick.
 
Methods inherited from class org.apache.solr.util.stats.Clock
defaultClock, getTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Clock.CpuTimeClock

public Clock.CpuTimeClock()
Method Detail

getTick

public long getTick()
Description copied from class: Clock
Returns the current time tick.

Specified by:
getTick in class Clock
Returns:
time tick in nanoseconds


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