kieker.common.record.system
Class CPUUtilizationRecord
java.lang.Object
kieker.common.record.AbstractMonitoringRecord
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
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)
|
Methods inherited from class kieker.common.record.AbstractMonitoringRecord |
checkArray, classForName, compareTo, createFromArray, createFromStringArray, equals, fromStringArrayToTypedArray, getLoggingTimestamp, hashCode, setLoggingTimestamp, toString, typesForClass |
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)
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
Copyright 2012 Kieker Project, http://kieker-monitoring.net>