|
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.ResourceUtilizationRecord
public final class ResourceUtilizationRecord
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface kieker.common.record.IMonitoringRecord |
---|
IMonitoringRecord.Factory |
Constructor Summary | |
---|---|
ResourceUtilizationRecord(long timestamp,
String hostname,
String resourceName,
double utilization)
Creates a new instance of this class using the given parameters. |
|
ResourceUtilizationRecord(Object[] values)
This constructor converts the given array into a record. |
Method Summary | |
---|---|
String |
getHostname()
|
String |
getResourceName()
|
long |
getTimestamp()
|
double |
getUtilization()
|
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 |
Constructor Detail |
---|
public ResourceUtilizationRecord(long timestamp, String hostname, String resourceName, double utilization)
timestamp
- The timestamp for the record.hostname
- The hostname (the resource belongs to) for the record.resourceName
- The name of the resource.utilization
- The value of utilization. The value should be in the range [0,1]
public ResourceUtilizationRecord(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 getTimestamp()
public final String getHostname()
public final String getResourceName()
public final double getUtilization()
|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |