Kieker 1.12

kieker.monitoring.timer
Class AbstractTimeSource

java.lang.Object
  extended by kieker.monitoring.timer.AbstractTimeSource
All Implemented Interfaces:
ITimeSource
Direct Known Subclasses:
SystemMilliTimer, SystemNanoTimer

public abstract class AbstractTimeSource
extends java.lang.Object
implements ITimeSource

Since:
1.3
Author:
Jan Waller

Constructor Summary
protected AbstractTimeSource(Configuration configuration)
          This constructor initializes the class using the given configuration.
 
Method Summary
protected  Configuration getDefaultConfiguration()
          This method should be overwritten, iff the timer is external to Kieker and thus its default configuration is not included in the default config file.
abstract  java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface kieker.monitoring.timer.ITimeSource
getOffset, getTime, getTimeUnit
 

Constructor Detail

AbstractTimeSource

protected AbstractTimeSource(Configuration configuration)
This constructor initializes the class using the given configuration.

Parameters:
configuration - The configuration for this time source.
Method Detail

getDefaultConfiguration

protected Configuration getDefaultConfiguration()
This method should be overwritten, iff the timer is external to Kieker and thus its default configuration is not included in the default config file.

Returns:
The configuration object containing the default configuration.

toString

public abstract java.lang.String toString()
Specified by:
toString in interface ITimeSource
Overrides:
toString in class java.lang.Object
Returns:
A String representation of the timesource. E.g., the meaning of a timestamp from this source.

Kieker 1.12

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