Kieker 1.6

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, Jan Waller
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.common.record.IMonitoringRecord
IMonitoringRecord.Factory
 
Constructor Summary
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. 
 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(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

getHostname

public final String getHostname()
Returns:
the hostname

getResourceName

public final String getResourceName()
Returns:
the resourceName

getUtilization

public final double getUtilization()
Returns:
the utilization

Kieker 1.6

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