Kieker 1.6

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, Jan Waller
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.common.record.IMonitoringRecord
IMonitoringRecord.Factory
 
Field Summary
static String DEFAULT_VALUE
           
 
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)
           
 
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. 
 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
 

Field Detail

DEFAULT_VALUE

public static final String DEFAULT_VALUE
See Also:
Constant Field Values
Constructor Detail

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

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

Kieker 1.6

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