Kieker 1.6

kieker.common.record.system
Class CPUUtilizationRecord

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

public final class CPUUtilizationRecord
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
CPUUtilizationRecord(long timestamp, String hostname, String cpuID, double user, double system, double wait, double nice, double irq, double totalUtilization, double idle)
          Constructs a new CPUUtilizationRecord with the given values.
CPUUtilizationRecord(Object[] values)
           
 
Method Summary
 String getCpuID()
           
 String getHostname()
           
 double getIdle()
           
 double getIrq()
           
 double getNice()
           
 double getSystem()
           
 long getTimestamp()
           
 double getTotalUtilization()
           
 double getUser()
           
 Class<?>[] getValueTypes()
           
 double getWait()
           
 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

CPUUtilizationRecord

public CPUUtilizationRecord(long timestamp,
                            String hostname,
                            String cpuID,
                            double user,
                            double system,
                            double wait,
                            double nice,
                            double irq,
                            double totalUtilization,
                            double idle)
Constructs a new CPUUtilizationRecord with the given values. If certain String values shall remain undefined, use the constant DEFAULT_VALUE.

Parameters:
timestamp -
hostname -
cpuID -
user -
system -
wait -
nice -
irq -
totalUtilization -
idle -

CPUUtilizationRecord

public CPUUtilizationRecord(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

getCpuID

public final String getCpuID()
Returns:
the cpuID

getUser

public final double getUser()
Returns:
the user

getSystem

public final double getSystem()
Returns:
the system

getWait

public final double getWait()
Returns:
the wait

getNice

public final double getNice()
Returns:
the nice

getIrq

public final double getIrq()
Returns:
the irq

getTotalUtilization

public final double getTotalUtilization()
Returns:
the totalUtilization

getIdle

public final double getIdle()
Returns:
the idle

Kieker 1.6

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