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, Jan Waller
- See Also:
- Serialized Form
Constructor Summary |
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. |
MemSwapUsageRecord(Object[] values)
|
Methods inherited from class kieker.common.record.AbstractMonitoringRecord |
checkArray, classForName, compareTo, createFromArray, createFromStringArray, equals, fromStringArrayToTypedArray, getLoggingTimestamp, hashCode, setLoggingTimestamp, toString, typesForClass |
DEFAULT_VALUE
public static final String DEFAULT_VALUE
- See Also:
- Constant Field Values
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 String
values shall remain undefined, use the constants DEFAULT_VALUE
.
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
getMemUsed
public final long getMemUsed()
- Returns:
- the memUsed
getMemFree
public final long getMemFree()
- Returns:
- the memFree
getSwapTotal
public final long getSwapTotal()
- Returns:
- the swapTotal
getSwapUsed
public final long getSwapUsed()
- Returns:
- the swapUsed
getSwapFree
public final long getSwapFree()
- Returns:
- the swapFree
getTimestamp
public final long getTimestamp()
- Returns:
- the timestamp
getHostname
public final String getHostname()
- Returns:
- the hostname
Copyright 2012 Kieker Project, http://kieker-monitoring.net>