net.jinx.time
Interface NanoTimeSource

All Superinterfaces:
TimeSource
All Known Implementing Classes:
SteppingTimeSource

public interface NanoTimeSource
extends TimeSource

Implementing this inerface indicates that the Timesource is capable of providing time values on a nanosecond scale.

API Stability: Stable.


Method Summary
 long getNanoseconds()
          Provides the number of nanoseconds since some particular fixed event occured, such as the unix epoch like the system clock), the system booting, or the JVM starting (like sun.misc.Perf).
 
Methods inherited from interface net.jinx.time.TimeSource
isRealTime
 

Method Detail

getNanoseconds

long getNanoseconds()
Provides the number of nanoseconds since some particular fixed event occured, such as the unix epoch like the system clock), the system booting, or the JVM starting (like sun.misc.Perf). It doesn't matter what the event is, as long as it's fixed while this Timer exists.

Returns:
the number of nanoseconds since the event.