Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Kieker 1.10
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## kieker.monitoring.timer
Interface ITimeSource

All Known Implementing Classes:
  AbstractTimeSource, SystemMilliTimer, SystemNanoTimer

    public interface ITimeSource

Since:
  1.3
Author:
  Jan Waller

Method Summary
`long` | `getOffset()`
`long` | `getTime()`
`TimeUnit` | `getTimeUnit()`
`String` | `toString()`

Method Detail

### getTime

    long getTime()

  Returns:
    The timestamp for the current time in `TimeUnit`.
  Since:
    1.3
  See Also:
    `getTimeUnit()`

### getOffset

    long getOffset()

  Returns:
    The offset of the timesource to 1970-1-1 in `TimeUnit`.
  Since:
    1.7
  See Also:
    `getTimeUnit()`

### getTimeUnit

    TimeUnit getTimeUnit()

  Returns:
    The `TimeUnit` of the timesource.
  Since:
    1.7

### toString

    String toString()

  Overrides:
    `toString` in class `Object`
  Returns:
    A String representation of the timesource. E.g., the meaning of a timestamp from this source.
  Since:
    1.5

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Kieker 1.10
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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