net.jinx.time
Interface TimeSource

All Known Subinterfaces:
MillisTimeSource, NanoTimeSource
All Known Implementing Classes:
SteppingTimeSource

public interface TimeSource

The base interface that all TimeSources must implement. In addition, all TimeSources MUST implement either NanoTimeSource or MillisTimeSource, otherwise they aren't actually time sources, are they?

API Stability: Stable.


Method Summary
 boolean isRealTime()
          Indicates if this TimeSource is backed by a real-time clock.
 

Method Detail

isRealTime

boolean isRealTime()
Indicates if this TimeSource is backed by a real-time clock.

Returns:
true if this is true.