org.apache.solr.util.stats

## Class Clock.UserTimeClock

- java.lang.Object
- - org.apache.solr.util.stats.Clock
  - - org.apache.solr.util.stats.Clock.UserTimeClock

- Enclosing class:
    Clock

      public static class Clock.UserTimeClock
      extends Clock

  A clock implementation which returns the current time in epoch nanoseconds.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.solr.util.stats.Clock

      `Clock.CpuTimeClock, Clock.UserTimeClock`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserTimeClock()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

    - #### UserTimeClock

          public UserTimeClock()

  - ### 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-2016 Apache Software Foundation. All Rights Reserved.