Kieker 1.5

kieker.common.record.system
Class MemSwapUsageRecord

java.lang.Object
  extended by kieker.common.record.AbstractMonitoringRecord
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.common.record.IMonitoringRecord
IMonitoringRecord.Factory
 
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.
MemSwapUsageRecord(Object[] values)
           
 
Method Summary
 String getHostname()
           
 long getMemFree()
           
 long getMemTotal()
           
 long getMemUsed()
           
 long getSwapFree()
           
 long getSwapTotal()
           
 long getSwapUsed()
           
 long getTimestamp()
           
 Class<?>[] getValueTypes()
           
 void initFromArray(Object[] values)
          Deprecated. 
 void setHostname(String hostname)
           
 void setMemFree(long memFree)
           
 void setMemTotal(long memTotal)
           
 void setMemUsed(long memUsed)
           
 void setSwapFree(long swapFree)
           
 void setSwapTotal(long swapTotal)
           
 void setSwapUsed(long swapUsed)
           
 void setTimestamp(long timestamp)
           
 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

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)
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

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

Kieker 1.5

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