kieker.common.record
Class CurrentTimeRecord
java.lang.Object
kieker.common.record.AbstractMonitoringRecord
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
CurrentTimeRecord
public CurrentTimeRecord()
- Constructs a new
CurrentTimeRecord
with the
without setting the current time value.
CurrentTimeRecord
public CurrentTimeRecord(long timestamp)
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()
Copyright 2011 the Kieker Project, http://kieker.sourceforge.net>