Kieker 1.5

kieker.common.record.system
Class ResourceUtilizationRecord

java.lang.Object
  extended by kieker.common.record.AbstractMonitoringRecord
      extended by kieker.common.record.system.ResourceUtilizationRecord
All Implemented Interfaces:
Serializable, Comparable<IMonitoringRecord>, IMonitoringRecord, IMonitoringRecord.Factory

public final class ResourceUtilizationRecord
extends AbstractMonitoringRecord
implements IMonitoringRecord.Factory

Author:
Andre van Hoorn
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.common.record.IMonitoringRecord
IMonitoringRecord.Factory
 
Constructor Summary
ResourceUtilizationRecord()
           
ResourceUtilizationRecord(long timestamp, String hostname, String resourceName, double utilization)
           
ResourceUtilizationRecord(Object[] values)
           
 
Method Summary
 String getHostname()
           
 String getResourceName()
           
 long getTimestamp()
           
 double getUtilization()
           
 Class<?>[] getValueTypes()
           
 void initFromArray(Object[] values)
          Deprecated. 
 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
checkArray, classForName, compareTo, createFromArray, createFromStringArray, equals, fromStringArrayToTypedArray, getLoggingTimestamp, hashCode, setLoggingTimestamp, toString, typesForClass
 
Methods inherited from class java.lang.Object
getClass, 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 -

ResourceUtilizationRecord

public ResourceUtilizationRecord(Object[] values)
Method Detail

toArray

public Object[] toArray()
Specified by:
toArray in interface IMonitoringRecord

initFromArray

@Deprecated
public void initFromArray(Object[] values)
Deprecated. 

Specified by:
initFromArray in interface IMonitoringRecord

getValueTypes

public Class<?>[] getValueTypes()
Specified by:
getValueTypes in interface IMonitoringRecord

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.5

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