Kieker 1.5

kieker.tools.currentTimeEventGenerator
Class TimestampEvent

java.lang.Object
  extended by kieker.tools.currentTimeEventGenerator.TimestampEvent

Deprecated. will be removed in Kieker 1.6; use TimestampRecord instead.

@Deprecated
public class TimestampEvent
extends Object

Record type which can be used to store the current time in the field timestamp.

Author:
Andre van Hoorn

Constructor Summary
TimestampEvent(long currenTime)
          Deprecated. Creates a new TimestampEvent with the given timestamp.
 
Method Summary
 long getTimestamp()
          Deprecated. Returns the current time.
 void setTimestamp(long timestamp)
          Deprecated. Sets the current time to the given value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimestampEvent

public TimestampEvent(long currenTime)
Deprecated. 
Creates a new TimestampEvent with the given timestamp.

Parameters:
currenTime -
Method Detail

getTimestamp

public long getTimestamp()
Deprecated. 
Returns the current time.

Returns:
the current time.

setTimestamp

public void setTimestamp(long timestamp)
Deprecated. 
Sets the current time to the given value.

Parameters:
timestamp -

Kieker 1.5

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