kieker.common.record
Class ResourceUtilizationRecord
java.lang.Object
kieker.common.record.AbstractMonitoringRecord
kieker.common.record.ResourceUtilizationRecord
- All Implemented Interfaces:
- Serializable, IMonitoringRecord
public class ResourceUtilizationRecord
- extends AbstractMonitoringRecord
- Author:
- Andre van Hoorn
- See Also:
- Serialized Form
ResourceUtilizationRecord
public ResourceUtilizationRecord()
ResourceUtilizationRecord
public ResourceUtilizationRecord(long timestamp,
String hostName,
String resourceName,
double utilization)
- Parameters:
timestamp
- hostName
- resourceName
- utilization
-
initFromArray
public void initFromArray(Object[] values)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
toArray
public Object[] toArray()
getValueTypes
public Class<?>[] getValueTypes()
getTimestamp
public final long getTimestamp()
- Returns:
- the timestamp
setTimestamp
public final void setTimestamp(long timestamp)
- Parameters:
timestamp
- the timestamp to set
getHostName
public final String getHostName()
- Returns:
- the hostName
setHostName
public final void setHostName(String hostName)
- Parameters:
hostName
- the hostName to set
getResourceName
public final String getResourceName()
- Returns:
- the resourceName
setResourceName
public final void setResourceName(String resourceName)
- Parameters:
resourceName
- the resourceName to set
getUtilization
public final double getUtilization()
- Returns:
- the utilization
setUtilization
public final void setUtilization(double utilization)
- Parameters:
utilization
- the utilization to set
Copyright 2011 the Kieker Project, http://kieker.sourceforge.net>