com.yammer.metrics.core
Class Clock.UserTimeClock
java.lang.Object
com.yammer.metrics.core.Clock
com.yammer.metrics.core.Clock.UserTimeClock
- Enclosing class:
- Clock
public static class Clock.UserTimeClock
- extends Clock
A clock implementation which returns the current time in epoch nanoseconds.
Method Summary |
long |
tick()
Returns the current time tick. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Clock.UserTimeClock
public Clock.UserTimeClock()
tick
public long tick()
- Description copied from class:
Clock
- Returns the current time tick.
- Specified by:
tick
in class Clock
- Returns:
- time tick in nanoseconds
Copyright © 2012. All Rights Reserved.