Kieker 1.3

kieker.common.record
Class ResourceUtilizationRecord

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

public class ResourceUtilizationRecord
extends AbstractMonitoringRecord

Author:
Andre van Hoorn
See Also:
Serialized Form

Constructor Summary
ResourceUtilizationRecord()
           
ResourceUtilizationRecord(long timestamp, String hostName, String resourceName, double utilization)
           
 
Method Summary
 String getHostName()
           
 String getResourceName()
           
 long getTimestamp()
           
 double getUtilization()
           
 Class<?>[] getValueTypes()
           
 void initFromArray(Object[] values)
           
 void setHostName(String hostName)
           
 void setResourceName(String resourceName)
           
 void setTimestamp(long timestamp)
           
 void setUtilization(double utilization)
           
 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

ResourceUtilizationRecord

public ResourceUtilizationRecord()

ResourceUtilizationRecord

public ResourceUtilizationRecord(long timestamp,
                                 String hostName,
                                 String resourceName,
                                 double utilization)
Parameters:
timestamp -
hostName -
resourceName -
utilization -
Method Detail

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

Kieker 1.3

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