Kieker 1.3

kieker.common.record
Class CurrentTimeRecord

java.lang.Object
  extended by kieker.common.record.AbstractMonitoringRecord
      extended by kieker.common.record.CurrentTimeRecord
All Implemented Interfaces:
Serializable, IMonitoringRecord

public class CurrentTimeRecord
extends AbstractMonitoringRecord

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

Author:
Andre van Hoorn
See Also:
Serialized Form

Constructor Summary
CurrentTimeRecord()
          Constructs a new CurrentTimeRecord with the without setting the current time value.
CurrentTimeRecord(long timestamp)
           
 
Method Summary
 long getCurrentTime()
          Returns the current time.
 Class<?>[] getValueTypes()
           
 void initFromArray(Object[] values)
           
 void setCurrentTime(long currentTime)
          Sets the current time to the given value.
 Object[] toArray()
           
 
Methods inherited from class kieker.common.record.AbstractMonitoringRecord
getLoggingTimestamp, setLoggingTimestamp, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CurrentTimeRecord

public CurrentTimeRecord()
Constructs a new CurrentTimeRecord with the without setting the current time value.


CurrentTimeRecord

public CurrentTimeRecord(long timestamp)
Method Detail

getCurrentTime

public long getCurrentTime()
Returns the current time.

Returns:

setCurrentTime

public void setCurrentTime(long currentTime)
Sets the current time to the given value.

Parameters:
currentTime -

getValueTypes

public Class<?>[] getValueTypes()

initFromArray

public void initFromArray(Object[] values)
                   throws IllegalArgumentException
Throws:
IllegalArgumentException

toArray

public Object[] toArray()

Kieker 1.3

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net