kieker.common.record
Class MemSwapUsageRecord
java.lang.Object
kieker.common.record.AbstractMonitoringRecord
kieker.common.record.MemSwapUsageRecord
- All Implemented Interfaces:
- Serializable, IMonitoringRecord
public class MemSwapUsageRecord
- extends AbstractMonitoringRecord
- Author:
- Andre van Hoorn
- See Also:
- Serialized Form
Constructor Summary |
MemSwapUsageRecord()
|
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. |
UNDEFINED_DOUBLE
public static final double UNDEFINED_DOUBLE
- See Also:
- Constant Field Values
UNDEFINED_LONG
public static final long UNDEFINED_LONG
- See Also:
- Constant Field Values
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
UNDEFINED_DOUBLE
and UNDEFINED_LONG
.
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
initFromArray
public void initFromArray(Object[] values)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
toArray
public Object[] toArray()
getValueTypes
public Class<?>[] getValueTypes()
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 2011 the Kieker Project, http://kieker.sourceforge.net>