Kieker 1.5

kieker.monitoring.timer
Interface ITimeSource

All Known Implementing Classes:
AbstractTimeSource, DefaultSystemTimer, SystemMilliTimer, SystemNanoTimer

public interface ITimeSource

Author:
Jan Waller

Method Summary
 long getTime()
          Returns the timestamp for the current time.
 String toString()
          Returns a String representation of the timesource.
 

Method Detail

getTime

long getTime()
Returns the timestamp for the current time. Usually, the timestamp is assumed to be in TimeUnit.NANOSECONDS.


toString

String toString()
Returns a String representation of the timesource. E.g., the meaning of a timestamp from this source.

Overrides:
toString in class Object

Kieker 1.5

Copyright 2012 the Kieker Project, http://kieker-monitoring.net