|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.common.record.AbstractMonitoringRecord kieker.common.record.system.MemSwapUsageRecord
public final class MemSwapUsageRecord
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface kieker.common.record.IMonitoringRecord |
---|
IMonitoringRecord.Factory |
Field Summary | |
---|---|
static String |
DEFAULT_VALUE
A constant which can be used as a default value for non existing fields of the record. |
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)
This constructor converts the given array into a record. |
Method Summary | |
---|---|
String |
getHostname()
|
long |
getMemFree()
|
long |
getMemTotal()
|
long |
getMemUsed()
|
long |
getSwapFree()
|
long |
getSwapTotal()
|
long |
getSwapUsed()
|
long |
getTimestamp()
|
Class<?>[] |
getValueTypes()
This method should deliver an array with the classes of the single values for the record. |
void |
initFromArray(Object[] values)
Deprecated. This record uses the IMonitoringRecord.Factory mechanism. Hence, this method is not implemented. |
Object[] |
toArray()
This method should deliver an array containing the content of the record. |
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 |
---|
public static final String DEFAULT_VALUE
Constructor Detail |
---|
public MemSwapUsageRecord(long timestamp, String hostname, long memTotal, long memUsed, long memFree, long swapTotal, long swapUsed, long swapFree)
MemSwapUsageRecord
with the given values. If certain String
values shall remain undefined, use the constant
DEFAULT_VALUE
.
timestamp
- The timestamp of the measure.hostname
- The name of the host.memTotal
- The total available memory.memUsed
- The used memory.memFree
- The free memory.swapTotal
- The total available swap.swapUsed
- The used swap.swapFree
- The free swap.public MemSwapUsageRecord(Object[] values)
toArray()
.
values
- The values for the record.Method Detail |
---|
public Object[] toArray()
toArray
in interface IMonitoringRecord
@Deprecated public void initFromArray(Object[] values)
IMonitoringRecord.Factory
mechanism. Hence, this method is not implemented.
IMonitoringRecord.toArray()
.
initFromArray
in interface IMonitoringRecord
values
- The values for the record.public Class<?>[] getValueTypes()
getValueTypes
in interface IMonitoringRecord
IMonitoringRecord.toArray()
public final long getMemTotal()
public final long getMemUsed()
public final long getMemFree()
public final long getSwapTotal()
public final long getSwapUsed()
public final long getSwapFree()
public final long getTimestamp()
public final String getHostname()
|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |