kieker.common.record
Class MonitoringRecordTypeRegistry
java.lang.Object
kieker.common.record.MonitoringRecordTypeRegistry
public class MonitoringRecordTypeRegistry
- extends Object
- Author:
- Andre van Hoorn
Method Summary |
Class<? extends IMonitoringRecord> |
fetchClassForRecordTypeId(int recordTypeId)
Returns the class object for the given record type ID record type recordTypeId,
which has been registered before by calling the registerRecordTypeIdMapping
method. |
void |
registerRecordTypeIdMapping(int recordTypeId,
String classname)
Registers a mapping of the given record type recordTypeId to the corresponding classname. |
MonitoringRecordTypeRegistry
public MonitoringRecordTypeRegistry()
MonitoringRecordTypeRegistry
public MonitoringRecordTypeRegistry(boolean oldKiekerExecutionRecordCompatibilityMode)
- Parameters:
oldKiekerExecutionRecordCompatibilityMode
- - See Also:
oldKiekerExecutionRecordCompatibilityMode
registerRecordTypeIdMapping
public final void registerRecordTypeIdMapping(int recordTypeId,
String classname)
throws ClassNotFoundException
- Registers a mapping of the given record type recordTypeId to the corresponding classname.
This method should be used by implementing classes.
- Parameters:
recordTypeId
- classname
-
- Throws:
LogReaderExecutionException
ClassNotFoundException
fetchClassForRecordTypeId
public final Class<? extends IMonitoringRecord> fetchClassForRecordTypeId(int recordTypeId)
- Returns the class object for the given record type ID record type recordTypeId,
which has been registered before by calling the registerRecordTypeIdMapping
method.
This method should be used by implementing classes.
- Parameters:
recordTypeId
- the record type ID
- Returns:
- the class object
Copyright 2010 the Kieker Project, http://kieker.sourceforge.net>