kieker.common.record.system
Class MemSwapUsageRecord
java.lang.Object
kieker.common.record.AbstractMonitoringRecord
kieker.common.record.system.MemSwapUsageRecord
- All Implemented Interfaces:
- Serializable, Comparable<IMonitoringRecord>, IMonitoringRecord, IMonitoringRecord.Factory
public final class MemSwapUsageRecord
- extends AbstractMonitoringRecord
- implements IMonitoringRecord.Factory
- Author:
- Andre van Hoorn
- See Also:
- Serialized Form
Methods inherited from class kieker.common.record.AbstractMonitoringRecord |
checkArray, classForName, compareTo, createFromArray, createFromStringArray, equals, fromStringArrayToTypedArray, getLoggingTimestamp, hashCode, setLoggingTimestamp, toString, typesForClass |
MemSwapUsageRecord
public MemSwapUsageRecord()
MemSwapUsageRecord
public MemSwapUsageRecord(long timestamp,
String hostname,
long memTotal,
long memUsed,
long memFree,
long swapTotal,
long swapUsed,
long swapFree)
- Constructs a new
MemSwapUsageRecord
with the given values. If
certain values shall remain undefined, use the constants DEFAULT_VALUE
and UNDEFINED_LONG
.
MemSwapUsageRecord
public MemSwapUsageRecord(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
getMemTotal
public final long getMemTotal()
- Returns:
- the memTotal
setMemTotal
public final void setMemTotal(long memTotal)
- Parameters:
memTotal
- the memTotal to set
getMemUsed
public final long getMemUsed()
- Returns:
- the memUsed
setMemUsed
public final void setMemUsed(long memUsed)
- Parameters:
memUsed
- the memUsed to set
getMemFree
public final long getMemFree()
- Returns:
- the memFree
setMemFree
public final void setMemFree(long memFree)
- Parameters:
memFree
- the memFree to set
getSwapTotal
public final long getSwapTotal()
- Returns:
- the swapTotal
setSwapTotal
public final void setSwapTotal(long swapTotal)
- Parameters:
swapTotal
- the swapTotal to set
getSwapUsed
public final long getSwapUsed()
- Returns:
- the swapUsed
setSwapUsed
public final void setSwapUsed(long swapUsed)
- Parameters:
swapUsed
- the swapUsed to set
getSwapFree
public final long getSwapFree()
- Returns:
- the swapFree
setSwapFree
public final void setSwapFree(long swapFree)
- Parameters:
swapFree
- the swapFree to set
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
Copyright 2012 the Kieker Project, http://kieker-monitoring.net>