|
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.misc.KiekerMetadataRecord
public final class KiekerMetadataRecord
This records collects metadata for the monitoring session.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface kieker.common.record.IMonitoringRecord |
---|
IMonitoringRecord.Factory |
Field Summary | |
---|---|
static String |
NO_CONTROLLERNAME
Constant to be used if no value available. |
static String |
NO_HOSTNAME
Constant to be used if no value available. |
static String |
NO_TIMESOURCE
Constant to be used if no value available. |
static String |
NO_TIMEUNIT
Constant to be used if no value available. |
Constructor Summary | |
---|---|
KiekerMetadataRecord(Object[] values)
Creates a new instance of this class using the given parameter. |
|
KiekerMetadataRecord(String version,
String controllerName,
String hostname,
int experimentId,
boolean debugMode,
long timeOffset,
String timeUnit,
long numberOfRecords)
Creates a new instance of this class. |
Method Summary | |
---|---|
String |
getControllerName()
|
int |
getExperimentId()
|
String |
getHostname()
|
long |
getNumberOfRecords()
|
long |
getTimeOffset()
|
String |
getTimeUnit()
|
Class<?>[] |
getValueTypes()
This method should deliver an array with the classes of the single values for the record. |
String |
getVersion()
|
void |
initFromArray(Object[] values)
Deprecated. This record uses the IMonitoringRecord.Factory mechanism. Hence, this method is not implemented. |
boolean |
isDebugMode()
|
Object[] |
toArray()
This method should deliver an array containing the content of the record. |
String |
toFormattedString()
Converts the current record into a formatted string. |
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 NO_CONTROLLERNAME
public static final String NO_HOSTNAME
public static final String NO_TIMESOURCE
public static final String NO_TIMEUNIT
Constructor Detail |
---|
public KiekerMetadataRecord(String version, String controllerName, String hostname, int experimentId, boolean debugMode, long timeOffset, String timeUnit, long numberOfRecords)
version
- The Kieker version (can be null).controllerName
- The name of the controller (can be null).hostname
- The name of the host (can be null).experimentId
- The experiment ID.timeUnit
- The time unit (can be null).timeSource
- The timesource (can be null).debugMode
- Whether debug mode is enabled or not.numberOfRecords
- The number of records.public KiekerMetadataRecord(Object[] values)
values
- The array containing the values for the fields of this class. This should normally be the array resulting in a call to toArray()
.Method Detail |
---|
public Object[] toArray()
toArray
in interface IMonitoringRecord
public Class<?>[] getValueTypes()
getValueTypes
in interface IMonitoringRecord
IMonitoringRecord.toArray()
@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 String getVersion()
public String getControllerName()
public String getHostname()
public int getExperimentId()
public boolean isDebugMode()
public long getTimeOffset()
public String getTimeUnit()
public long getNumberOfRecords()
public String toFormattedString()
|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |