net.jinx.time
Interface MillisTimeSource

All Superinterfaces:
TimeSource

public interface MillisTimeSource
extends TimeSource

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

API Stability: Stable.


Method Summary
 long getMilliseconds()
          Provides the number of milliseconds 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

getMilliseconds

long getMilliseconds()
Provides the number of milliseconds 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.